1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 urllib3, 7 certifi, 8}: 9 10buildPythonPackage rec { 11 pname = "domeneshop"; 12 version = "0.4.4"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-UCxIDnhIAkxZ1oQXYRyAMdGgUsUZ6AlYXwsxL49TFAg="; 18 }; 19 20 nativeBuildInputs = [ setuptools ]; 21 22 dependencies = [ 23 certifi 24 urllib3 25 ]; 26 27 # There are none 28 doCheck = false; 29 30 pythonImportsCheck = [ "domeneshop" ]; 31 32 meta = with lib; { 33 changelog = "https://github.com/domeneshop/python-domeneshop/releases/tag/v${version}"; 34 description = "Python library for working with the Domeneshop API"; 35 homepage = "https://api.domeneshop.no/docs/"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ pbsds ]; 38 }; 39}