2016-12-11 20:05:52 +01:00
|
|
|
{ lib
|
|
|
|
, fetchurl
|
|
|
|
, buildPythonPackage
|
2017-10-31 16:21:13 +01:00
|
|
|
, cython
|
|
|
|
, pytest, psutil, pytestrunner
|
2016-12-11 20:05:52 +01:00
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "multidict";
|
2017-11-05 13:16:18 +01:00
|
|
|
version = "3.3.2";
|
2016-12-11 20:05:52 +01:00
|
|
|
in buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
2017-11-05 13:16:18 +01:00
|
|
|
sha256 = "f82e61c7408ed0dce1862100db55595481911f159d6ddec0b375d35b6449509b";
|
2016-12-11 20:05:52 +01:00
|
|
|
};
|
|
|
|
|
2017-10-31 16:21:13 +01:00
|
|
|
buildInputs = [ cython ];
|
|
|
|
checkInputs = [ pytest psutil pytestrunner ];
|
2016-12-11 20:05:52 +01:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Multidict implementation";
|
|
|
|
homepage = https://github.com/aio-libs/multidict/;
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
2017-10-31 16:21:13 +01:00
|
|
|
}
|