nixpkgs/pkgs/development/python-modules/multidict/default.nix

31 lines
684 B
Nix
Raw Normal View History

{ lib
2018-01-22 15:08:37 +00:00
, fetchPypi
, buildPythonPackage
, pytest, pytestrunner, pytestcov
, isPy3k
, isPy38
}:
buildPythonPackage rec {
pname = "multidict";
2019-12-19 19:31:15 +00:00
version = "4.7.1";
2018-01-22 15:08:37 +00:00
src = fetchPypi {
inherit pname version;
2019-12-19 19:31:15 +00:00
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 ];
};
}