2016-12-11 20:05:52 +01:00
|
|
|
{ lib
|
2018-01-22 16:08:37 +01:00
|
|
|
, fetchPypi
|
2016-12-11 20:05:52 +01:00
|
|
|
, buildPythonPackage
|
2017-10-31 16:21:13 +01:00
|
|
|
, cython
|
|
|
|
, pytest, psutil, pytestrunner
|
2016-12-11 20:05:52 +01:00
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2018-01-22 16:08:37 +01:00
|
|
|
|
|
|
|
in buildPythonPackage rec {
|
2016-12-11 20:05:52 +01:00
|
|
|
pname = "multidict";
|
2018-01-16 12:31:49 +01:00
|
|
|
version = "4.0.0";
|
2016-12-11 20:05:52 +01:00
|
|
|
|
2018-01-22 16:08:37 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-01-16 12:31:49 +01:00
|
|
|
sha256 = "0y0pg3r9hlknny0zwg906wz81h8in6lgvnpbmzvl911bmnrqc95p";
|
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
|
|
|
}
|