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
|
2021-10-09 00:23:10 +02:00
|
|
|
, pytestCheckHook
|
2016-12-11 20:05:52 +01:00
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
2018-01-28 14:08:30 +01:00
|
|
|
buildPythonPackage rec {
|
2016-12-11 20:05:52 +01:00
|
|
|
pname = "multidict";
|
2021-10-09 00:23:10 +02:00
|
|
|
version = "5.2.0";
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
2016-12-11 20:05:52 +01:00
|
|
|
|
2018-01-22 16:08:37 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-09 00:23:10 +02:00
|
|
|
sha256 = "0dd1c93edb444b33ba2274b66f63def8a327d607c6c790772f448a53b6ea59ce";
|
2016-12-11 20:05:52 +01:00
|
|
|
};
|
|
|
|
|
2021-10-09 00:23:10 +02:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.cfg \
|
|
|
|
--replace "--cov=multidict --cov-report term-missing:skip-covered --cov-report xml" ""
|
|
|
|
'';
|
2016-12-11 20:05:52 +01:00
|
|
|
|
2021-10-09 00:23:10 +02:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
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";
|
2020-04-01 03:11:51 +02:00
|
|
|
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
|
|
|
}
|