Merge pull request #28670 from Mic92/moretools

moretools: fix build and 0.1a41 -> 0.1.8
This commit is contained in:
Jörg Thalheim 2017-08-29 10:38:06 +01:00 committed by GitHub
commit c804973126
3 changed files with 63 additions and 18 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, buildPythonPackage, fetchPypi
, six, pathpy, zetup, pytest
, decorator }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "moretools";
version = "0.1.8";
src = fetchPypi {
inherit pname version;
sha256 = "03ni7k0kcgrm3y605c29gqlyp779fx1xc3r8xb742lzd6ni30kdg";
};
checkPhase = ''
py.test test
'';
buildInputs = [ six pathpy pytest ];
propagatedBuildInputs = [ decorator zetup ];
meta = with stdenv.lib; {
description = ''
Many more basic tools for python 2/3 extending itertools, functools, operator and collections
'';
homepage = https://bitbucket.org/userzimmermann/python-moretools;
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}

View File

@ -0,0 +1,30 @@
{ stdenv, buildPythonPackage, fetchPypi
, setuptools_scm, pathpy, nbconvert
, pytest }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "zetup";
version = "0.2.34";
src = fetchPypi {
inherit pname version;
sha256 = "0k4lm51b5qjy7yxy3n5z8vc5hlvjcsfsvwjgqzkr0pisysar1kpf";
};
checkPhase = ''
py.test test
'';
buildInputs = [ pytest pathpy nbconvert ];
propagatedBuildInputs = [ setuptools_scm ];
meta = with stdenv.lib; {
description = ''
Zimmermann's Extensible Tools for Unified Project setups
'';
homepage = https://github.com/zimmermanncode/zetup;
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}

View File

@ -12976,24 +12976,7 @@ in {
};
});
moretools = buildPythonPackage rec {
name = "moretools-0.1a41";
src = pkgs.fetchurl {
url = "mirror://pypi/m/moretools/${name}.tar.gz";
sha256 = "1n442wprbl3cmg08233m1sr3g4z0i8hv9g6bhch7kzdmbl21399f";
};
buildInputs = with self; [ six pathpy setuptools ];
propagatedBuildInputs = with self; [ decorator ];
meta = {
description = "Many more basic tools for python 2/3 extending itertools, functools, operator and collections";
homepage = https://bitbucket.org/userzimmermann/python-moretools;
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
};
moretools = callPackage ../development/python-modules/moretools { };
moto = buildPythonPackage rec {
version = "0.4.25";
@ -24556,6 +24539,8 @@ EOF
};
};
zetup = callPackage ../development/python-modules/zetup { };
zope_broken = buildPythonPackage rec {
name = "zope.broken-3.6.0";