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