pythonPackages.cmdtest: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 10:58:01 -04:00
parent 8dded34d8c
commit 3ef39ecdb0
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 33 additions and 20 deletions

View File

@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, fetchurl
, cliapp
, ttystatus
, markdown
, isPy3k
, isPyPy
}:
buildPythonPackage rec {
name = "cmdtest-${version}";
version = "0.18";
disabled = isPy3k || isPyPy;
src = fetchurl {
url = "http://code.liw.fi/debian/pool/main/c/cmdtest/cmdtest_${version}.orig.tar.xz";
sha256 = "068f24k8ad520hcf8g3gj7wvq1wspyd46ay0k9xa360jlb4dv2mn";
};
propagatedBuildInputs = [ cliapp ttystatus markdown ];
# TODO: cmdtest tests must be run before the buildPhase
doCheck = false;
meta = with stdenv.lib; {
homepage = http://liw.fi/cmdtest/;
description = "Black box tests Unix command line tools";
license = licenses.gpl3;
};
}

View File

@ -4225,26 +4225,7 @@ in {
cliapp = callPackage ../development/python-modules/cliapp { };
cmdtest = buildPythonPackage rec {
name = "cmdtest-${version}";
version = "0.18";
disabled = isPy3k || isPyPy;
propagatedBuildInputs = with self; [ cliapp ttystatus markdown ];
# TODO: cmdtest tests must be run before the buildPhase
doCheck = false;
src = pkgs.fetchurl {
url = "http://code.liw.fi/debian/pool/main/c/cmdtest/cmdtest_0.18.orig.tar.xz";
sha256 = "068f24k8ad520hcf8g3gj7wvq1wspyd46ay0k9xa360jlb4dv2mn";
};
meta = {
homepage = http://liw.fi/cmdtest/;
description = "Black box tests Unix command line tools";
};
};
cmdtest = callPackage ../development/python-modules/cmdtest { };
tornado = callPackage ../development/python-modules/tornado { };
tornado_4 = callPackage ../development/python-modules/tornado { version = "4.5.3"; };