2018-09-07 08:26:07 +01:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, pytest, pytestrunner }:
|
2018-07-28 15:23:41 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ordered-set";
|
2018-10-06 11:56:19 +01:00
|
|
|
version = "3.0.2";
|
2018-07-28 15:23:41 +01:00
|
|
|
|
2018-09-07 08:26:07 +01:00
|
|
|
buildInputs = [ pytest pytestrunner ];
|
2018-07-28 15:23:41 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-06 11:56:19 +01:00
|
|
|
sha256 = "7d292b866fa44f339ac6e624e3d338accfb415ce0a8431595d51990fbdf61d3b";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|