python313Packages.pylxd: modernize

This commit is contained in:
Fabian Affolter
2025-12-24 21:14:30 +01:00
committed by GitHub
parent a9285f81c8
commit 5943391410
@@ -7,7 +7,6 @@
mock-services,
pytestCheckHook,
python-dateutil,
pythonOlder,
requests,
urllib3,
requests-toolbelt,
@@ -21,8 +20,6 @@ buildPythonPackage rec {
version = "2.3.7";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "canonical";
repo = "pylxd";
@@ -32,11 +29,9 @@ buildPythonPackage rec {
pythonRelaxDeps = [ "urllib3" ];
nativeBuildInputs = [
setuptools
];
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
cryptography
python-dateutil
requests
@@ -62,7 +57,7 @@ buildPythonPackage rec {
meta = {
description = "Library for interacting with the LXD REST API";
homepage = "https://pylxd.readthedocs.io/";
changelog = "https://github.com/canonical/pylxd/releases/tag/${version}";
changelog = "https://github.com/canonical/pylxd/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = [ ];
};