blob: 7fe68b0b2a891303ee5817c1d92f2b1283417a90 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
requests,
}:
buildPythonPackage rec {
pname = "niluclient";
version = "0.1.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "11ymn0cr4lchrcnf2xxlgljw223gwln01gxwr7mcgf95yc4006iq";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "niluclient" ];
meta = {
description = "Python client for getting air pollution data from NILU sensor stations";
homepage = "https://github.com/hfurubotten/niluclient";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|