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

29 lines
550 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
six,
}:
buildPythonPackage rec {
pname = "multipledispatch";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-XIOZFUZcaCBsPpxHM1eQghbCg4O0JTYeXRRFlL+Fp+A=";
};
# No tests in archive
doCheck = false;
propagatedBuildInputs = [ six ];
meta = {
homepage = "https://github.com/mrocklin/multipledispatch/";
description = "Relatively sane approach to multiple dispatch in Python";
license = lib.licenses.bsd3;
};
}