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
|
2018-11-04 17:17:40 +01:00
|
|
|
, pytest, pytestrunner, pytestcov
|
2016-12-11 20:05:52 +01:00
|
|
|
, isPy3k
|
2019-10-17 09:19:21 +02:00
|
|
|
, isPy38
|
2016-12-11 20:05:52 +01:00
|
|
|
}:
|
|
|
|
|
2018-01-28 14:08:30 +01:00
|
|
|
buildPythonPackage rec {
|
2016-12-11 20:05:52 +01:00
|
|
|
pname = "multidict";
|
2020-02-06 19:42:18 +01:00
|
|
|
version = "4.7.4";
|
2016-12-11 20:05:52 +01:00
|
|
|
|
2018-01-22 16:08:37 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-02-06 19:42:18 +01:00
|
|
|
sha256 = "d7d428488c67b09b26928950a395e41cc72bb9c3d5abfe9f0521940ee4f796d4";
|
2016-12-11 20:05:52 +01:00
|
|
|
};
|
|
|
|
|
2018-11-04 17:17:40 +01:00
|
|
|
checkInputs = [ pytest pytestrunner pytestcov ];
|
2016-12-11 20:05:52 +01:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
2019-10-17 09:19:21 +02:00
|
|
|
# pickle files needed for 3.8 https://github.com/aio-libs/multidict/pull/363
|
|
|
|
doCheck = !isPy38;
|
2016-12-11 20:05:52 +01:00
|
|
|
|
2018-01-28 14:08:30 +01:00
|
|
|
meta = with lib; {
|
2016-12-11 20:05:52 +01:00
|
|
|
description = "Multidict implementation";
|
|
|
|
homepage = https://github.com/aio-libs/multidict/;
|
2018-01-28 14:08:30 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
2016-12-11 20:05:52 +01:00
|
|
|
};
|
2017-10-31 16:21:13 +01:00
|
|
|
}
|