1{ lib 2, beautifulsoup4 3, buildPythonPackage 4, fetchFromGitHub 5, lxml 6, pythonOlder 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "pymeteoclimatic"; 12 version = "0.0.6"; 13 disabled = pythonOlder "3.6"; 14 15 src = fetchFromGitHub { 16 owner = "adrianmo"; 17 repo = pname; 18 rev = version; 19 sha256 = "0ys0d6jy7416gbsd0pqgvm5ygzn36pjdaklqi4q56vsb13zn7y0h"; 20 }; 21 22 propagatedBuildInputs = [ 23 beautifulsoup4 24 lxml 25 ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ "meteoclimatic" ]; 32 33 meta = with lib; { 34 description = "Python wrapper around the Meteoclimatic service"; 35 homepage = "https://github.com/adrianmo/pymeteoclimatic"; 36 license = with licenses; [ mit ]; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}