1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, urllib3 6, pyopenssl 7, cryptography 8, idna 9, certifi 10}: 11 12buildPythonPackage rec { 13 pname = "domeneshop"; 14 version = "0.4.3"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.4"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-kL0X1mEsmVWqnq5NgsMBxeAu48zjmi3muhZYryTCOMo="; 22 }; 23 24 propagatedBuildInputs = [ 25 certifi 26 urllib3 27 ]; 28 29 # There are none 30 doCheck = false; 31 32 pythonImportsCheck = [ "domeneshop" ]; 33 34 meta = with lib; { 35 description = "Python library for working with the Domeneshop API"; 36 homepage = "https://api.domeneshop.no/docs/"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ pbsds ]; 39 }; 40}