3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ordered-set/default.nix
2020-07-26 09:04:14 +02:00

25 lines
545 B
Nix

{ buildPythonPackage, fetchPypi, lib, isPy27, pytest }:
buildPythonPackage rec {
pname = "ordered-set";
version = "4.0.2";
disabled = isPy27;
checkInputs = [ pytest ];
src = fetchPypi {
inherit pname version;
sha256 = "159syfbqnwqnivzjfn3x7ak3xwrxmnzbji7c2qhj1jjv0pgv54xs";
};
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 ];
};
}