Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ lib, buildPythonPackage, fetchFromGitHub, openstackdocstheme, pbr, setuptools, sphinxHook, wrapt, callPackage,}:
buildPythonPackage (finalAttrs: { pname = "debtcollector"; version = "3.1.0"; pyproject = true;
src = fetchFromGitHub { owner = "openstack"; repo = "debtcollector"; tag = finalAttrs.version; hash = "sha256-q5A7ZIPMELEIyK7TYL+Eipy1R/h8S6RwIYwgn/Vbzc8="; };
# Manually set version since pbr wants to get it from git (not in a tarball) env.PBR_VERSION = finalAttrs.version;
postPatch = '' # pbr needs git to ship subpackages and package data echo "recursive-include debtcollector *" > MANIFEST.in '';
build-system = [ openstackdocstheme pbr setuptools sphinxHook ];
sphinxBuilders = [ "man" ];
dependencies = [ wrapt ];
# check in passthru.tests.pytest to escape infinite recursion with other oslo components doCheck = false;
passthru.tests = { tests = callPackage ./tests.nix { }; };
pythonImportsCheck = [ "debtcollector" "debtcollector.fixtures" ];
meta = { description = "Collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner"; homepage = "https://github.com/openstack/debtcollector"; license = lib.licenses.asl20; teams = [ lib.teams.openstack ]; };})