2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, 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;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-30 08:33:03 +00:00
|
|
|
homepage = "https://liw.fi/cmdtest/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Black box tests Unix command line tools";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|