blob: c47025b1adf237b0a2247925f3ff1ae9d569e1d0 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "radiotherm";
version = "2.1.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "mhrivnak";
repo = "radiotherm";
rev = version;
sha256 = "0p37pc7l2malmjfkdlh4q2cfa6dqpsk1rah2j2xil0pj57ai6bks";
};
nativeCheckInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [ "radiotherm" ];
meta = {
description = "Python library for Wifi Radiothermostat";
homepage = "https://github.com/mhrivnak/radiotherm";
license = with lib.licenses; [ bsd3 ];
maintainers = with lib.maintainers; [ fab ];
};
}
|