depot/third_party/nixpkgs/pkgs/development/python-modules/nc-dnsapi/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
693 B
Nix

{
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
];
};
}