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:
parent
27c6bf0ef3
commit
8de02232c5
24
pkgs/development/python-modules/sortedcontainers/default.nix
Normal file
24
pkgs/development/python-modules/sortedcontainers/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user