c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
30 lines
606 B
Nix
30 lines
606 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nc-dnsapi";
|
|
version = "0.1.5";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "nc_dnsapi";
|
|
hash = "sha256-1fvzr3e0ZAbSDOovhLz5GHJCS6l+K89fbYHoaWxO9cA=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|