summary refs log tree commit diff
path: root/pkgs/development/python-modules/multidict/default.nix
blob: 5ce6969da7575fe6256e08a10e1772617d6b8598 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, fetchPypi
, buildPythonPackage
, cython
, pytest, psutil, pytestrunner
, isPy3k
}:

let

in buildPythonPackage rec {
  pname = "multidict";
  version = "4.0.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0y0pg3r9hlknny0zwg906wz81h8in6lgvnpbmzvl911bmnrqc95p";
  };

  buildInputs = [ cython ];
  checkInputs = [ pytest psutil pytestrunner ];

  disabled = !isPy3k;

  meta = {
    description = "Multidict implementation";
    homepage = https://github.com/aio-libs/multidict/;
    license = lib.licenses.asl20;
  };
}