about summary refs log tree commit diff
path: root/pkgs/development/python-modules/nc-dnsapi/default.nix
blob: cf6511b1eb9713eda23100832c2e7e9ccac499b7 (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
27
28
29
30
31
32
33
34
35
36
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  requests,
}:

buildPythonPackage rec {
  pname = "nc-dnsapi";
  version = "0.1.6";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "nbuchwitz";
    repo = "nc_dnsapi";
    rev = "v${version}";
    hash = "sha256-OE4+wJbJbUZ+YB5J5OyvytLFCcrnXCeZEqmphHKKprQ=";
  };

  propagatedBuildInputs = [ requests ];

  pythonImportsCheck = [ "nc_dnsapi" ];

  # no tests
  doCheck = false;

  meta = with lib; {
    description = "API wrapper for the netcup DNS api";
    homepage = "https://github.com/nbuchwitz/nc_dnsapi";
    license = licenses.gpl3;
    maintainers = with maintainers; [
      veehaitch
      trundle
    ];
  };
}