biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pymeteoclimatic / default.nix
blob6ecba40d2144573bc852aa7bbd2200c7ef887224
2   lib,
3   beautifulsoup4,
4   buildPythonPackage,
5   fetchFromGitHub,
6   lxml,
7   pythonOlder,
8   pytestCheckHook,
9   setuptools,
12 buildPythonPackage rec {
13   pname = "pymeteoclimatic";
14   version = "0.1.0";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "adrianmo";
21     repo = "pymeteoclimatic";
22     rev = "refs/tags/${version}";
23     hash = "sha256-rP0+OYDnQ4GuoV7DzR6jtgH6ilTMLjdaEFJcz3L0GYQ=";
24   };
26   nativeBuildInputs = [ setuptools ];
28   propagatedBuildInputs = [
29     beautifulsoup4
30     lxml
31   ];
33   nativeCheckInputs = [ pytestCheckHook ];
35   pythonImportsCheck = [ "meteoclimatic" ];
37   meta = with lib; {
38     description = "Python wrapper around the Meteoclimatic service";
39     homepage = "https://github.com/adrianmo/pymeteoclimatic";
40     changelog = "https://github.com/adrianmo/pymeteoclimatic/releases/tag/${version}";
41     license = with licenses; [ mit ];
42     maintainers = with maintainers; [ fab ];
43   };