2020-06-16 22:10:30 +01:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, isPy27, pytest }:
|
2018-07-28 15:23:41 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ordered-set";
|
2020-06-06 07:47:20 +01:00
|
|
|
version = "4.0.1";
|
2020-06-16 22:10:30 +01:00
|
|
|
disabled = isPy27;
|
2018-07-28 15:23:41 +01:00
|
|
|
|
2019-03-15 21:28:01 +00:00
|
|
|
checkInputs = [ pytest ];
|
2018-07-28 15:23:41 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:20 +01:00
|
|
|
sha256 = "a31008c57f9c9776b12eb8841b1f61d1e4d70dfbbe8875ccfa2403c54af3d51b";
|
2018-07-28 15:23:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|