Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 61 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, buildPythonPackage, fetchPypi, flit-core, mock, pbr, pytest-mock, pytestCheckHook, pytz, requests, setuptools, six,}:
buildPythonPackage rec { pname = "jenkinsapi"; version = "0.3.13"; format = "pyproject";
src = fetchPypi { inherit pname version; hash = "sha256-JGqYpj5h9UoV0WEFyxVIjFZwc030HobHrw1dnAryQLk="; };
patches = [ ./pytest-warn-none.patch ];
nativeBuildInputs = [ flit-core pbr ];
propagatedBuildInputs = [ pytz requests setuptools six ];
nativeCheckInputs = [ mock pytest-mock pytestCheckHook ];
# don't run tests that try to spin up jenkins disabledTests = [ "systests" ];
pythonImportsCheck = [ "jenkinsapi" "jenkinsapi.utils" "jenkinsapi.utils.jenkins_launcher" ];
meta = with lib; { description = "Python API for accessing resources on a Jenkins continuous-integration server"; homepage = "https://github.com/salimfadhley/jenkinsapi"; maintainers = with maintainers; [ drets ] ++ teams.deshaw.members; license = licenses.mit; };}