3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/multimethod/default.nix

32 lines
601 B
Nix
Raw Normal View History

2021-04-19 00:58:27 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pytest-cov
}:
buildPythonPackage rec {
pname = "multimethod";
version = "1.5";
src = fetchPypi {
inherit pname version;
sha256 = "b9c6f85ecf187f14a3951fff319643e1fac3086d757dec64f2469e1fd136b65d";
};
checkInputs = [
pytestCheckHook
pytest-cov
];
2021-08-12 00:11:30 +01:00
pythonImportsCheck = [
2021-04-19 00:58:27 +01:00
"multimethod"
];
meta = with lib; {
description = "Multiple argument dispatching";
homepage = "https://github.com/coady/multimethod";
license = licenses.asl20;
maintainers = teams.determinatesystems.members;
};
}