Files
nixpkgs/pkgs/development/python-modules/debtcollector/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

54 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
openstackdocstheme,
pbr,
six,
setuptools,
sphinxHook,
wrapt,
callPackage,
}:
buildPythonPackage rec {
pname = "debtcollector";
version = "3.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-KokX0lsOHx0NNl08HG7Px6UiselxbooaSpFRJvfM6m8=";
};
build-system = [
openstackdocstheme
pbr
setuptools
sphinxHook
];
sphinxBuilders = [ "man" ];
dependencies = [
six
wrapt
];
# check in passthru.tests.pytest to escape infinite recursion with other oslo components
doCheck = false;
passthru.tests = {
tests = callPackage ./tests.nix { };
};
pythonImportsCheck = [ "debtcollector" ];
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 ];
};
}