pythonPackages.ptest: refactor move to python-modules
This commit is contained in:
parent
b87540f82c
commit
3c19bb493f
23
pkgs/development/python-modules/ptest/default.nix
Normal file
23
pkgs/development/python-modules/ptest/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user