python.pkgs.more-itertools: move expression

This commit is contained in:
Frederik Rietdijk 2018-04-05 19:50:53 +02:00
parent 3ed297511d
commit 9c8c8852e1
2 changed files with 27 additions and 18 deletions

View 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;
};
}

View File

@ -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}";