blob: d4ceb895290859a9a99ee0b0b61bbf7541bb4f08 (
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
38
|
{
lib,
aiohttp,
async-timeout,
buildPythonPackage,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "airthings-cloud";
version = "0.2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pyAirthings";
tag = version;
hash = "sha256-HdH/z5xsumOXU0ZYOUc8LHpjKGkfp5e5yGER+Nm8xB4=";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "airthings" ];
meta = {
description = "Python module for Airthings";
homepage = "https://github.com/Danielhiversen/pyAirthings";
changelog = "https://github.com/Danielhiversen/pyAirthings/releases/tag/${version}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|