diff options
Diffstat (limited to 'pkgs/development/python-modules/cmdtest/default.nix')
-rw-r--r-- | pkgs/development/python-modules/cmdtest/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cmdtest/default.nix b/pkgs/development/python-modules/cmdtest/default.nix new file mode 100644 index 000000000000..605529b17470 --- /dev/null +++ b/pkgs/development/python-modules/cmdtest/default.nix @@ -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; + }; + +} |