Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 61 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, buildPythonPackage, fetchFromGitHub, hatchling, mock, pytest-mock, pytestCheckHook, pytz, requests, six,}:
buildPythonPackage rec { pname = "jenkinsapi"; version = "0.3.17"; pyproject = true;
src = fetchFromGitHub { owner = "pycontribs"; repo = "jenkinsapi"; tag = version; hash = "sha256-1dTcT84cDpP9V4tVrgW2MTYx4jQj0/tZiAuakC+orUQ="; };
build-system = [ hatchling ];
dependencies = [ pytz requests 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 = { description = "Python API for accessing resources on a Jenkins continuous-integration server"; homepage = "https://github.com/salimfadhley/jenkinsapi"; maintainers = with lib.maintainers; [ de11n despsyched drets ]; license = lib.licenses.mit; };}