2019-03-15 22:28:01 +01:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, pytest }:
|
2018-07-28 16:23:41 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ordered-set";
|
2019-05-02 08:54:28 +02:00
|
|
|
version = "3.1.1";
|
2018-07-28 16:23:41 +02:00
|
|
|
|
2019-03-15 22:28:01 +01:00
|
|
|
checkInputs = [ pytest ];
|
2018-07-28 16:23:41 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-02 08:54:28 +02:00
|
|
|
sha256 = "094pww79pawgmjgwi47r0fji9irb7sr4xc9xwjbb0wwcficaigx7";
|
2018-07-28 16:23:41 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|