nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 836 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 python-dateutil, 7 requests, 8 setuptools, 9}: 10 11buildPythonPackage (finalAttrs: { 12 pname = "hcloud"; 13 version = "2.16.0"; 14 pyproject = true; 15 16 src = fetchPypi { 17 inherit (finalAttrs) pname version; 18 hash = "sha256-6xrLMRW8CzVrRQrSMlaHO1gxGzV6SWJaj+DLq6LbUJs="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ 24 requests 25 python-dateutil 26 ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 pythonImportsCheck = [ "hcloud" ]; 31 32 meta = { 33 description = "Library for the Hetzner Cloud API"; 34 homepage = "https://github.com/hetznercloud/hcloud-python"; 35 changelog = "https://github.com/hetznercloud/hcloud-python/releases/tag/v${finalAttrs.version}"; 36 license = lib.licenses.mit; 37 maintainers = with lib.maintainers; [ liff ]; 38 }; 39})