python.pkgs.more-itertools: move expression
This commit is contained in:
parent
3ed297511d
commit
9c8c8852e1
26
pkgs/development/python-modules/more-itertools/default.nix
Normal file
26
pkgs/development/python-modules/more-itertools/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, six
|
||||
}:
|
||||
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "more-itertools";
|
||||
version = "4.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0cadwsr97c80k18if7qy5d8j8l1zj3yhnkm6kbngk0lpl7pxq8ax";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
meta = {
|
||||
homepage = https://more-itertools.readthedocs.org;
|
||||
description = "Expansion of the itertools module";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
@ -18320,24 +18320,7 @@ EOF
|
||||
|
||||
moreItertools = self.more-itertools;
|
||||
|
||||
more-itertools = buildPythonPackage rec {
|
||||
name = "more-itertools-${version}";
|
||||
version = "4.0.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/m/more-itertools/${name}.tar.gz";
|
||||
sha256 = "0cadwsr97c80k18if7qy5d8j8l1zj3yhnkm6kbngk0lpl7pxq8ax";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ nose ];
|
||||
propagatedBuildInputs = with self; [ six ];
|
||||
|
||||
meta = {
|
||||
homepage = https://more-itertools.readthedocs.org;
|
||||
description = "Expansion of the itertools module";
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
more-itertools = callPackage ../development/python-modules/more-itertools { };
|
||||
|
||||
jaraco_functools = buildPythonPackage rec {
|
||||
name = "jaraco.functools-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user