2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
requests,
|
2022-10-21 18:38:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nc-dnsapi";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "0.1.6";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-10-21 18:38:19 +00:00
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nbuchwitz";
|
|
|
|
repo = "nc_dnsapi";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-OE4+wJbJbUZ+YB5J5OyvytLFCcrnXCeZEqmphHKKprQ=";
|
2022-10-21 18:38:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
veehaitch
|
|
|
|
trundle
|
|
|
|
];
|
2022-10-21 18:38:19 +00:00
|
|
|
};
|
|
|
|
}
|