1{ stdenv
2, buildPythonPackage
3, fetchurl
4, cliapp
5, ttystatus
6, markdown
7, isPy3k
8, isPyPy
9}:
10
11buildPythonPackage rec {
12 pname = "cmdtest";
13 version = "0.32";
14 disabled = isPy3k || isPyPy;
15
16 src = fetchurl {
17 url = "http://code.liw.fi/debian/pool/main/c/cmdtest/cmdtest_${version}.orig.tar.xz";
18 sha256 = "0scc47h1nkmbm5zlvk9bsnsg64kb9r4xadchdinf4f1mph9qpgn6";
19 };
20
21 propagatedBuildInputs = [ cliapp ttystatus markdown ];
22
23 # TODO: cmdtest tests must be run before the buildPhase
24 doCheck = false;
25
26 meta = with stdenv.lib; {
27 homepage = "http://liw.fi/cmdtest/";
28 description = "Black box tests Unix command line tools";
29 license = licenses.gpl3;
30 };
31
32}