nixpkgs-suyu/pkgs/development/python-modules/multidict/default.nix
2019-12-30 16:46:44 +01:00

30 lines
684 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pytest, pytestrunner, pytestcov
, isPy3k
, isPy38
}:
buildPythonPackage rec {
pname = "multidict";
version = "4.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "d7b6da08538302c5245cd3103f333655ba7f274915f1f5121c4f4b5fbdb3febe";
};
checkInputs = [ pytest pytestrunner pytestcov ];
disabled = !isPy3k;
# pickle files needed for 3.8 https://github.com/aio-libs/multidict/pull/363
doCheck = !isPy38;
meta = with lib; {
description = "Multidict implementation";
homepage = https://github.com/aio-libs/multidict/;
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}