emacsPackages.lsp-bridge: 0-unstable-2025-01-11 -> 0-unstable-2025-01-22 (#376531)
[NixPkgs.git] / pkgs / development / python-modules / pyclimacell / default.nix
blob8b61e177f5db2d501c5e58b7e9bbf1d9dc55f80b
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pytestCheckHook,
7   pythonOlder,
8   pytz,
9 }:
11 buildPythonPackage rec {
12   pname = "pyclimacell";
13   version = "0.18.2";
14   format = "setuptools";
15   disabled = pythonOlder "3.6";
17   src = fetchFromGitHub {
18     owner = "raman325";
19     repo = pname;
20     rev = "v${version}";
21     hash = "sha256-jWHjnebg4Aar48gid7bB7XYXOQtSqbmVmASsZd0YoPc=";
22   };
24   propagatedBuildInputs = [
25     aiohttp
26     pytz
27   ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   pythonImportsCheck = [ "pyclimacell" ];
33   meta = with lib; {
34     description = "Python client for ClimaCell API";
35     homepage = "https://github.com/raman325/pyclimacell";
36     license = with licenses; [ mit ];
37     maintainers = with maintainers; [ fab ];
38   };