pythonPackages.ptest: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 11:10:18 -04:00 committed by Frederik Rietdijk
parent b87540f82c
commit 3c19bb493f
2 changed files with 24 additions and 16 deletions

View File

@ -0,0 +1,23 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "ptest";
version = "1.5.3";
src = fetchFromGitHub {
owner = "KarlGong";
repo = pname;
rev = version + "-release";
sha256 = "1r50lm6n59jzdwpp53n0c0hp3aj1jxn304bk5gh830226gsaf2hn";
};
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;
};
}

View File

@ -3447,22 +3447,7 @@ in {
ldap3 = callPackage ../development/python-modules/ldap3 {};
ptest = buildPythonPackage rec {
name = pname + "-" + version;
pname = "ptest";
version = "1.5.3";
src = pkgs.fetchFromGitHub {
owner = "KarlGong";
repo = pname;
rev = version + "-release";
sha256 = "1r50lm6n59jzdwpp53n0c0hp3aj1jxn304bk5gh830226gsaf2hn";
};
meta = {
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;
};
};
ptest = callPackage ../development/python-modules/ptest { };
ptyprocess = callPackage ../development/python-modules/ptyprocess { };