python3Packages.multidict: improve expression
This commit is contained in:
parent
2a1af96a55
commit
5de3c5d89d
1 changed files with 5 additions and 4 deletions
|
@ -2,14 +2,14 @@
|
|||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, pytestCheckHook
|
||||
, isPy3k
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "multidict";
|
||||
version = "5.2.0";
|
||||
|
||||
disabled = !isPy3k;
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -17,12 +17,13 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=multidict --cov-report term-missing:skip-covered --cov-report xml" ""
|
||||
sed -i '/^addopts/d' setup.cfg
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "multidict" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Multidict implementation";
|
||||
homepage = "https://github.com/aio-libs/multidict/";
|
||||
|
|
Loading…
Reference in a new issue