2018-09-07 09:26:07 +02:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, pytest, pytestrunner }:
|
2018-07-28 16:23:41 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ordered-set";
|
2018-12-14 19:09:05 +01:00
|
|
|
version = "3.1";
|
2018-07-28 16:23:41 +02:00
|
|
|
|
2018-09-07 09:26:07 +02:00
|
|
|
buildInputs = [ pytest pytestrunner ];
|
2018-07-28 16:23:41 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-14 19:09:05 +01:00
|
|
|
sha256 = "0slg1ys58dzxl96mws3sydzavdzqdk0s2nrc852dphd9kbm07dzr";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|