mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 16:34:27 +00:00
31 lines
606 B
Nix
31 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 ];
|
|
};
|
|
}
|