Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5}: 6 7buildPythonPackage rec { 8 pname = "ptest"; 9 version = "1.7.4"; 10 format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "KarlGong"; 14 repo = pname; 15 rev = version + "-release"; 16 sha256 = "0v1zpfjagjlvdmgv6d502nmb7s996wadvpzg93i651s64rrlwq4s"; 17 }; 18 19 meta = with lib; { 20 description = "Test classes and test cases using decorators, execute test cases by command line, and get clear reports"; 21 homepage = "https://pypi.python.org/pypi/ptest"; 22 license = licenses.asl20; 23 }; 24}