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

28 lines
573 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, pytest-runner
, pytest
}:
buildPythonPackage rec {
pname = "multiset";
version = "2.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "4801569c08bfcecfe7b0927b17f079c90f8607aca8fecaf42ded92b737162bc7";
};
buildInputs = [ setuptools-scm pytest-runner ];
checkInputs = [ pytest ];
meta = with lib; {
description = "An implementation of a multiset";
homepage = "https://github.com/wheerd/multiset";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}