diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/sortedcontainers/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/sortedcontainers/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/sortedcontainers/default.nix b/nixpkgs/pkgs/development/python-modules/sortedcontainers/default.nix new file mode 100644 index 000000000000..b2b7f2035030 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/sortedcontainers/default.nix @@ -0,0 +1,24 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "sortedcontainers"; + version = "2.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "974e9a32f56b17c1bac2aebd9dcf197f3eb9cd30553c5852a3187ad162e1a03a"; + }; + + # pypi tarball does not come with tests + doCheck = false; + + meta = { + description = "Python Sorted Container Types: SortedList, SortedDict, and SortedSet"; + homepage = http://www.grantjenks.com/docs/sortedcontainers/; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ costrouc ]; + }; +} |