about summary refs log tree commit diff
path: root/pkgs/development/python-modules/hetzner/default.nix
blob: fd4eb8496ce940c4bf5f733802b3370135e5d5e3 (plain) (blame)
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 = with lib; {
    homepage = "https://github.com/RedMoonStudios/hetzner";
    description = "High-level Python API for accessing the Hetzner robot";
    mainProgram = "hetznerctl";
    license = licenses.bsd3;
    maintainers = with maintainers; [ aszlig ];
  };
}