1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 requests, 6}: 7 8buildPythonPackage rec { 9 pname = "nc-dnsapi"; 10 version = "0.1.6"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "nbuchwitz"; 15 repo = "nc_dnsapi"; 16 rev = "v${version}"; 17 hash = "sha256-OE4+wJbJbUZ+YB5J5OyvytLFCcrnXCeZEqmphHKKprQ="; 18 }; 19 20 propagatedBuildInputs = [ requests ]; 21 22 pythonImportsCheck = [ "nc_dnsapi" ]; 23 24 # no tests 25 doCheck = false; 26 27 meta = with lib; { 28 description = "API wrapper for the netcup DNS api"; 29 homepage = "https://github.com/nbuchwitz/nc_dnsapi"; 30 license = licenses.gpl3; 31 maintainers = with maintainers; [ 32 veehaitch 33 trundle 34 ]; 35 }; 36}