Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
803 B · 39 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, python-dateutil, requests, setuptools,}:
buildPythonPackage rec { pname = "hcloud"; version = "2.5.4"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-JTLg2LbiD7WpCvX4026wA5oZfCCU0dVvx/zniaMAAl4="; };
build-system = [ setuptools ];
dependencies = [ requests python-dateutil ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "hcloud" ];
meta = with lib; { description = "Library for the Hetzner Cloud API"; homepage = "https://github.com/hetznercloud/hcloud-python"; changelog = "https://github.com/hetznercloud/hcloud-python/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ liff ]; };}