forked from mirrors/nixpkgs
pythonPackages.sortedcollections: refactor move to python-modules
This commit is contained in:
parent
36d0404ed6
commit
bf98e3b446
|
@ -0,0 +1,27 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, sortedcontainers
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sortedcollections";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "12dlzln9gyv8smsy2k6d6dmr0ywrpwyrr1cjy649ia5h1g7xdvwa";
|
||||
};
|
||||
|
||||
buildInputs = [ sortedcontainers ];
|
||||
|
||||
# wants to test all python versions with tox:
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python Sorted Collections";
|
||||
homepage = http://www.grantjenks.com/docs/sortedcollections/;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
|
@ -2797,25 +2797,7 @@ in {
|
|||
|
||||
brotlipy = callPackage ../development/python-modules/brotlipy { };
|
||||
|
||||
sortedcollections = buildPythonPackage rec {
|
||||
name = "sortedcollections-${version}";
|
||||
version = "0.4.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/s/sortedcollections/${name}.tar.gz";
|
||||
sha256 = "12dlzln9gyv8smsy2k6d6dmr0ywrpwyrr1cjy649ia5h1g7xdvwa";
|
||||
};
|
||||
buildInputs = [ self.sortedcontainers ];
|
||||
|
||||
# wants to test all python versions with tox:
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Python Sorted Collections";
|
||||
homepage = http://www.grantjenks.com/docs/sortedcollections/;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
};
|
||||
sortedcollections = callPackage ../development/python-modules/sortedcollections { };
|
||||
|
||||
hyperframe = callPackage ../development/python-modules/hyperframe { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue