summary refs log tree commit diff
path: root/pkgs/development/python-modules/cmdtest/default.nix
blob: ca2402cff6cd361d3cfad3c01e3c60ed6969486e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ stdenv
, buildPythonPackage
, fetchurl
, cliapp
, ttystatus
, markdown
, isPy3k
, isPyPy
}:

buildPythonPackage rec {
  pname = "cmdtest";
  version = "0.32";
  disabled = isPy3k || isPyPy;

  src = fetchurl {
    url = "http://code.liw.fi/debian/pool/main/c/cmdtest/cmdtest_${version}.orig.tar.xz";
    sha256 = "0scc47h1nkmbm5zlvk9bsnsg64kb9r4xadchdinf4f1mph9qpgn6";
  };

  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;
  };

}