nixpkgs/pkgs/development/python-modules/ordered-set/default.nix

24 lines
555 B
Nix
Raw Normal View History

{ buildPythonPackage, fetchPypi, lib, pytest, pytestrunner }:
buildPythonPackage rec {
pname = "ordered-set";
2018-10-06 11:56:19 +01:00
version = "3.0.2";
buildInputs = [ pytest pytestrunner ];
src = fetchPypi {
inherit pname version;
2018-10-06 11:56:19 +01:00
sha256 = "7d292b866fa44f339ac6e624e3d338accfb415ce0a8431595d51990fbdf61d3b";
};
checkPhase = ''
py.test test.py
'';
meta = {
description = "A MutableSet that remembers its order, so that every entry has an index.";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.MostAwesomeDude ];
};
}