1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5}: 6 7buildPythonPackage rec { 8 pname = "nc-dnsapi"; 9 version = "0.1.5"; 10 11 src = fetchPypi { 12 inherit version; 13 pname = "nc_dnsapi"; 14 hash = "sha256-1fvzr3e0ZAbSDOovhLz5GHJCS6l+K89fbYHoaWxO9cA="; 15 }; 16 17 propagatedBuildInputs = [ requests ]; 18 19 pythonImportsCheck = [ "nc_dnsapi" ]; 20 21 # no tests 22 doCheck = false; 23 24 meta = with lib; { 25 description = "API wrapper for the netcup DNS api"; 26 homepage = "https://github.com/nbuchwitz/nc_dnsapi"; 27 license = licenses.gpl3; 28 maintainers = with maintainers; [ veehaitch trundle ]; 29 }; 30}