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

28 lines
595 B
Nix
Raw Normal View History

{ lib
, fetchPypi
, buildPythonPackage
, pytestCheckHook, pytestrunner, pytestcov
, isPy3k
}:
buildPythonPackage rec {
pname = "multidict";
version = "5.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "25b4e5f22d3a37ddf3effc0710ba692cfc792c2b9edfb9c05aefe823256e84d5";
};
checkInputs = [ pytestCheckHook pytestrunner pytestcov ];
disabled = !isPy3k;
meta = with lib; {
description = "Multidict implementation";
homepage = "https://github.com/aio-libs/multidict/";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}