mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
parent
b57deb8242
commit
bbd2a0323b
30
pkgs/development/python-modules/moretools/default.nix
Normal file
30
pkgs/development/python-modules/moretools/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -12976,24 +12976,7 @@ in {
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
moretools = buildPythonPackage rec {
|
moretools = callPackage ../development/python-modules/moretools { };
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
moto = buildPythonPackage rec {
|
moto = buildPythonPackage rec {
|
||||||
version = "0.4.25";
|
version = "0.4.25";
|
||||||
|
|
Loading…
Reference in a new issue