about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/hetzner/default.nix
blob: 07b8f0ed2d42397ee8bb8356a6ce5ee4d89a40e2 (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
{ 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 ];
  };
}