nixpkgs/pkgs/development/python-modules/jenkinsapi/default.nix
2019-01-18 09:37:08 +01:00

31 lines
673 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pytz
, requests
, coverage
, mock
, nose
, unittest2
}:
buildPythonPackage rec {
pname = "jenkinsapi";
version = "0.3.8";
src = fetchPypi {
inherit pname version;
sha256 = "120adfc9cea83fb890744b5049c5bb7edc77699059f0da62db66354ec27c54e2";
};
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;
};
}