2016-12-11 19:05:52 +00:00
|
|
|
{ lib
|
2018-01-22 15:08:37 +00:00
|
|
|
, fetchPypi
|
2016-12-11 19:05:52 +00:00
|
|
|
, buildPythonPackage
|
2017-10-31 15:21:13 +00:00
|
|
|
, cython
|
|
|
|
, pytest, psutil, pytestrunner
|
2016-12-11 19:05:52 +00:00
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
2018-01-28 13:08:30 +00:00
|
|
|
buildPythonPackage rec {
|
2016-12-11 19:05:52 +00:00
|
|
|
pname = "multidict";
|
2018-01-28 13:08:30 +00:00
|
|
|
version = "4.1.0";
|
2016-12-11 19:05:52 +00:00
|
|
|
|
2018-01-22 15:08:37 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-01-28 13:08:30 +00:00
|
|
|
sha256 = "0liazqlyk2nmr82nhiw2z72j7bjqxaisifkj476msw140d4i4i7v";
|
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;
|
|
|
|
|
2018-01-28 13:08:30 +00:00
|
|
|
meta = with lib; {
|
2016-12-11 19:05:52 +00:00
|
|
|
description = "Multidict implementation";
|
|
|
|
homepage = https://github.com/aio-libs/multidict/;
|
2018-01-28 13:08:30 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
2016-12-11 19:05:52 +00:00
|
|
|
};
|
2017-10-31 15:21:13 +00:00
|
|
|
}
|