python312Packages.linode-api: modernize

This commit is contained in:
Nick Cao
2025-01-08 10:54:00 -05:00
parent e8b4b187ec
commit d3021588ce
@@ -17,7 +17,7 @@ buildPythonPackage rec {
version = "5.26.0";
pyproject = true;
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.9";
# Sources from Pypi exclude test fixtures
src = fetchFromGitHub {
@@ -27,9 +27,9 @@ buildPythonPackage rec {
hash = "sha256-+Co8c0JJKzA2IBj/RUrY+iNTCI0nCvqQUW1F7Crd2mc=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
requests
polling
deprecated
@@ -48,10 +48,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "linode_api4" ];
meta = with lib; {
meta = {
description = "Python library for the Linode API v4";
homepage = "https://github.com/linode/python-linode-api";
license = licenses.bsd3;
maintainers = with maintainers; [ glenns ];
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ glenns ];
};
}