mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 16:34:27 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
31 lines
739 B
Nix
31 lines
739 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, six, path, zetup, pytest
|
|
, decorator }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "moretools";
|
|
version = "0.1.12";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "73b0469d4f1df6d967508103473f0b1524708adbff71f8f90ef71d9a44226b22";
|
|
};
|
|
|
|
checkPhase = ''
|
|
py.test test
|
|
'';
|
|
|
|
nativeBuildInputs = [ zetup ];
|
|
nativeCheckInputs = [ six path pytest ];
|
|
propagatedBuildInputs = [ decorator ];
|
|
|
|
meta = with 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.unix;
|
|
};
|
|
}
|