3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ordered-set/default.nix
Christopher Ostrouchov 427e4910ec pythonPackages.ordered-set: add missing dependency (#46183)
missing dependency for doing tests (pytestrunner) added three months
ago June c0b9308988.
2018-09-07 09:26:07 +02:00

24 lines
543 B
Nix

{ buildPythonPackage, fetchPypi, lib, pytest, pytestrunner }:
buildPythonPackage rec {
pname = "ordered-set";
version = "3.0.1";
buildInputs = [ pytest pytestrunner ];
src = fetchPypi {
inherit pname version;
sha256 = "0yyfkkfzpwlx4jlfqzb7p1xpzmn2jyzq2qlakqx62pxizfzxfvrx";
};
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 ];
};
}