Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, buildPythonPackage, fetchFromGitHub, docker, hatchling, mock, pyprojectVersionPatchHook, pytest-mock, pytest-xdist, pytestCheckHook, pytz, requests,}:
buildPythonPackage (finalAttrs: { pname = "jenkinsapi"; version = "0.3.23"; pyproject = true;
src = fetchFromGitHub { owner = "pycontribs"; repo = "jenkinsapi"; tag = finalAttrs.version; hash = "sha256-NtILbbXu4dtYda28WaFiGkICf0bOmVMKOOnnrHptxsg="; };
build-system = [ hatchling ];
nativeBuildInputs = [ pyprojectVersionPatchHook ];
dependencies = [ pytz requests ];
nativeCheckInputs = [ docker mock pytest-mock pytest-xdist pytestCheckHook ];
# don't run tests that try to spin up jenkins disabledTests = [ "systests" ];
pythonImportsCheck = [ "jenkinsapi" ];
meta = { description = "Python API for accessing resources on a Jenkins continuous-integration server"; homepage = "https://github.com/pycontribs/jenkinsapi"; changelog = "https://github.com/pycontribs/jenkinsapi/releases/tag/${finalAttrs.version}"; maintainers = with lib.maintainers; [ de11n despsyched drets ]; license = lib.licenses.mit; };})