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