blob: eefe2a1e5d44338bc3b093a956b109f106109c7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pytz,
}:
buildPythonPackage rec {
pname = "pyclimacell";
version = "0.18.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "raman325";
repo = "pyclimacell";
rev = "v${version}";
hash = "sha256-jWHjnebg4Aar48gid7bB7XYXOQtSqbmVmASsZd0YoPc=";
};
propagatedBuildInputs = [
aiohttp
pytz
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyclimacell" ];
meta = {
description = "Python client for ClimaCell API";
homepage = "https://github.com/raman325/pyclimacell";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|