mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
26 lines
587 B
Nix
26 lines
587 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hetzner";
|
|
version = "0.8.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "hetzner";
|
|
owner = "aszlig";
|
|
rev = "v${version}";
|
|
sha256 = "0nhm7j2y4rgmrl0c1rklg982qllp7fky34dchqwd4czbsdnv9j7a";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/RedMoonStudios/hetzner";
|
|
description = "High-level Python API for accessing the Hetzner robot";
|
|
mainProgram = "hetznerctl";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ aszlig ];
|
|
};
|
|
}
|