pythonPackages.ptest: refactor move to python-modules
This commit is contained in:
committed by
Frederik Rietdijk
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 {};
|
ldap3 = callPackage ../development/python-modules/ldap3 {};
|
||||||
|
|
||||||
ptest = buildPythonPackage rec {
|
ptest = callPackage ../development/python-modules/ptest { };
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
ptyprocess = callPackage ../development/python-modules/ptyprocess { };
|
ptyprocess = callPackage ../development/python-modules/ptyprocess { };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user