python313Packages.vultr: refactor

This commit is contained in:
Fabian Affolter
2025-08-15 01:45:09 +02:00
parent e3222f1adc
commit 2b048f8710
@@ -3,21 +3,24 @@
buildPythonPackage,
fetchFromGitHub,
requests,
setuptools,
}:
buildPythonPackage rec {
version = "1.0.1";
format = "setuptools";
pname = "vultr";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "spry-group";
repo = "python-vultr";
rev = "v${version}";
sha256 = "00lc5hdhchvm0472p03019bp9541d8y2773xkjy8vblq9qhys8q7";
tag = "v${version}";
hash = "sha256-ByPtIU6Yro28nH2cIzxqgZR0VwpggCsOAXVDBhssjAI=";
};
propagatedBuildInputs = [ requests ];
build-system = [ setuptools ];
dependencies = [ requests ];
# Tests disabled. They fail because they try to access the network
doCheck = false;
@@ -27,6 +30,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Vultr.com API Client";
homepage = "https://github.com/spry-group/python-vultr";
changelog = "https://github.com/spry-group/python-vultr/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ lihop ];
};