Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 41 lines 897 B view raw
1{ 2 lib, 3 beautifulsoup4, 4 buildPythonPackage, 5 fetchFromGitHub, 6 lxml, 7 pytestCheckHook, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "pymeteoclimatic"; 13 version = "0.1.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "adrianmo"; 18 repo = "pymeteoclimatic"; 19 tag = version; 20 hash = "sha256-rP0+OYDnQ4GuoV7DzR6jtgH6ilTMLjdaEFJcz3L0GYQ="; 21 }; 22 23 nativeBuildInputs = [ setuptools ]; 24 25 propagatedBuildInputs = [ 26 beautifulsoup4 27 lxml 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "meteoclimatic" ]; 33 34 meta = { 35 description = "Python wrapper around the Meteoclimatic service"; 36 homepage = "https://github.com/adrianmo/pymeteoclimatic"; 37 changelog = "https://github.com/adrianmo/pymeteoclimatic/releases/tag/${version}"; 38 license = with lib.licenses; [ mit ]; 39 maintainers = with lib.maintainers; [ fab ]; 40 }; 41}