summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/hetzner/default.nix
blob: 59280444980112173cfcc7c3906b76b8d6a3f0a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  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 ];
  };
}