pythonPackages.process-tests: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 11:08:52 -04:00 committed by Frederik Rietdijk
parent 5dfe02a10b
commit b87540f82c
2 changed files with 25 additions and 19 deletions

View file

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "process-tests";
version = "1.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "65c9d7a0260f31c15b4a22a851757e61f7072d0557db5f8a976112fbe81ff7e9";
};
# No tests
doCheck = false;
meta = with stdenv.lib; {
description = "Tools for testing processes";
license = licenses.bsd2;
homepage = https://github.com/ionelmc/python-process-tests;
};
}

View file

@ -3431,25 +3431,7 @@ in {
pynzb = callPackage ../development/python-modules/pynzb { };
process-tests = buildPythonPackage rec {
pname = "process-tests";
name = "${pname}-${version}";
version = "1.2.1";
src = pkgs.fetchurl {
url = "mirror://pypi/p/${pname}/${name}.tar.gz";
sha256 = "65c9d7a0260f31c15b4a22a851757e61f7072d0557db5f8a976112fbe81ff7e9";
};
# No tests
doCheck = false;
meta = {
description = "Tools for testing processes";
license = licenses.bsd2;
homepage = https://github.com/ionelmc/python-process-tests;
};
};
process-tests = callPackage ../development/python-modules/process-tests { };
progressbar = callPackage ../development/python-modules/progressbar {};