Files
nixpkgs/pkgs/development/python-modules/vultr/default.nix
Martin Weinelt 4bd0b9c7ab Reapply "Merge remote-tracking branch 'origin/master' into staging-next"
This reverts commit 106b1418bc.

Restores the commits lost during the revert of a merge on staging-next.
2025-08-23 16:06:41 +02:00

38 lines
826 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "vultr";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "spry-group";
repo = "python-vultr";
tag = "v${version}";
hash = "sha256-ByPtIU6Yro28nH2cIzxqgZR0VwpggCsOAXVDBhssjAI=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# Tests disabled. They fail because they try to access the network
doCheck = false;
pythonImportsCheck = [ "vultr" ];
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 ];
};
}