pythonPackages.jenkinsapi: refactor move to python-modules
This commit is contained in:
parent
15b5f85a96
commit
dae0571bc3
31
pkgs/development/python-modules/jenkinsapi/default.nix
Normal file
31
pkgs/development/python-modules/jenkinsapi/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytz
|
||||||
|
, requests
|
||||||
|
, coverage
|
||||||
|
, mock
|
||||||
|
, nose
|
||||||
|
, unittest2
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "jenkinsapi";
|
||||||
|
version = "0.2.32";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0fcc78b8dfc87237942aad2a8be54dbc08bc4afceaa7f6897f3d894e7d4bfd22";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ pytz requests ];
|
||||||
|
buildInputs = [ coverage mock nose unittest2 ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A Python API for accessing resources on a Jenkins continuous-integration server";
|
||||||
|
homepage = https://github.com/salimfadhley/jenkinsapi;
|
||||||
|
maintainers = with maintainers; [ drets ];
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4445,26 +4445,7 @@ in {
|
|||||||
|
|
||||||
torchvision = callPackage ../development/python-modules/torchvision { };
|
torchvision = callPackage ../development/python-modules/torchvision { };
|
||||||
|
|
||||||
jenkinsapi = buildPythonPackage rec {
|
jenkinsapi = callPackage ../development/python-modules/jenkinsapi { };
|
||||||
name = "jenkinsapi-${version}";
|
|
||||||
version = "0.2.32";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/j/jenkinsapi/${name}.tar.gz";
|
|
||||||
sha256 = "0fcc78b8dfc87237942aad2a8be54dbc08bc4afceaa7f6897f3d894e7d4bfd22";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ pytz requests ];
|
|
||||||
|
|
||||||
buildInputs = with self; [ coverage mock nose unittest2 ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A Python API for accessing resources on a Jenkins continuous-integration server";
|
|
||||||
homepage = https://github.com/salimfadhley/jenkinsapi;
|
|
||||||
maintainers = with maintainers; [ drets ];
|
|
||||||
license = licenses.mit;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
jenkins-job-builder = buildPythonPackage rec {
|
jenkins-job-builder = buildPythonPackage rec {
|
||||||
name = "jenkins-job-builder-2.0.0.0b2";
|
name = "jenkins-job-builder-2.0.0.0b2";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user