2018-10-26 15:10:18 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ptest";
|
2018-12-14 18:34:31 +00:00
|
|
|
version = "1.7.4";
|
2018-10-26 15:10:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KarlGong";
|
|
|
|
repo = pname;
|
|
|
|
rev = version + "-release";
|
2018-12-14 18:34:31 +00:00
|
|
|
sha256 = "0v1zpfjagjlvdmgv6d502nmb7s996wadvpzg93i651s64rrlwq4s";
|
2018-10-26 15:10:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Test classes and test cases using decorators, execute test cases by command line, and get clear reports";
|
|
|
|
homepage = https://pypi.python.org/pypi/ptest;
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|