depot/third_party/nixpkgs/pkgs/development/python-modules/ordered-set/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

24 lines
545 B
Nix

{ buildPythonPackage, fetchPypi, lib, isPy27, pytest }:
buildPythonPackage rec {
pname = "ordered-set";
version = "4.0.2";
disabled = isPy27;
checkInputs = [ pytest ];
src = fetchPypi {
inherit pname version;
sha256 = "159syfbqnwqnivzjfn3x7ak3xwrxmnzbji7c2qhj1jjv0pgv54xs";
};
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 ];
};
}