2018-10-16 23:09:58 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, sortedcontainers
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sortedcollections";
|
2020-07-06 19:06:59 +01:00
|
|
|
version = "1.2.1";
|
2018-10-16 23:09:58 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-06 19:06:59 +01:00
|
|
|
sha256 = "0sihzm5aqz7r3irh4jn6rzicb7lf81d27z7vl6kaslnhwcsizhsq";
|
2018-10-16 23:09:58 +01:00
|
|
|
};
|
|
|
|
|
2019-01-16 18:56:29 +00:00
|
|
|
propagatedBuildInputs = [ sortedcontainers ];
|
2018-10-16 23:09:58 +01:00
|
|
|
|
2019-01-16 18:56:29 +00:00
|
|
|
# No tests in PyPi tarball
|
2018-10-16 23:09:58 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python Sorted Collections";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.grantjenks.com/docs/sortedcollections/";
|
2018-10-16 23:09:58 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|