nixpkgs/pkgs/development/python-modules/python-designateclient/default.nix
Robert Schütz 1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00

79 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
debtcollector,
fetchFromGitHub,
jsonschema,
keystoneauth1,
openstackdocstheme,
osc-lib,
oslo-serialization,
oslo-utils,
oslotest,
pbr,
requests-mock,
requests,
setuptools,
sphinxHook,
sphinxcontrib-apidoc,
stestr,
}:
buildPythonPackage rec {
pname = "python-designateclient";
version = "6.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "openstack";
repo = "python-designateclient";
tag = version;
hash = "sha256-Upfu6FDaCRXniJLacuIt6K0qi8aOvHU0t43F3uWvhG8=";
};
env.PBR_VERSION = version;
nativeBuildInputs = [
openstackdocstheme
sphinxHook
sphinxcontrib-apidoc
];
sphinxBuilders = [ "man" ];
build-system = [
pbr
setuptools
];
dependencies = [
debtcollector
jsonschema
keystoneauth1
osc-lib
oslo-serialization
oslo-utils
requests
];
nativeCheckInputs = [
oslotest
requests-mock
stestr
];
checkPhase = ''
runHook preCheck
stestr run
runHook postCheck
'';
pythonImportsCheck = [ "designateclient" ];
meta = {
homepage = "https://opendev.org/openstack/python-designateclient";
description = "Client library for OpenStack Designate API";
license = lib.licenses.asl20;
teams = [ lib.teams.openstack ];
};
}