depot/third_party/nixpkgs/pkgs/development/python-modules/nc-dnsapi/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

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