pythonPackages.sortedcontainers: 1.5.7 -> 2.0.4 (#44653)

Moving sortedcontianers from top-level -> python-modules and updating
to newest sortedcontianers release.
This commit is contained in:
Christopher Ostrouchov 2018-08-08 16:12:12 -04:00 committed by Robert Schütz
parent 27c6bf0ef3
commit 8de02232c5
2 changed files with 26 additions and 20 deletions

View File

@ -0,0 +1,24 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "sortedcontainers";
version = "2.0.4";
src = fetchPypi {
inherit pname version;
sha256 = "607294c6e291a270948420f7ffa1fb3ed47384a4c08db6d1e9c92d08a6981982";
};
# 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 ];
};
}

View File

@ -503,6 +503,8 @@ in {
sip = callPackage ../development/python-modules/sip { };
sortedcontainers = callPackage ../development/python-modules/sortedcontainers { };
sklearn-deap = callPackage ../development/python-modules/sklearn-deap { };
slackclient = callPackage ../development/python-modules/slackclient { };
@ -7561,26 +7563,6 @@ in {
brotlipy = callPackage ../development/python-modules/brotlipy { };
sortedcontainers = buildPythonPackage rec {
name = "sortedcontainers-${version}";
version = "1.5.7";
src = pkgs.fetchurl {
url = "mirror://pypi/s/sortedcontainers/${name}.tar.gz";
sha256 = "1sjh8lccbmvwna91mlhl5m3z4320p07h063b8x8br4p4cll49w0g";
};
# tries to run tests for all python versions and uses virtualenv weirdly
doCheck = false;
#buildInputs = with self; [ tox nose ];
meta = {
description = "Python Sorted Container Types: SortedList, SortedDict, and SortedSet";
homepage = "http://www.grantjenks.com/docs/sortedcontainers/";
license = licenses.asl20;
};
};
sortedcollections = buildPythonPackage rec {
name = "sortedcollections-${version}";
version = "0.4.2";