25 lines
579 B
Nix
25 lines
579 B
Nix
{ 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 ];
|
|
};
|
|
}
|