blob: 1445c2046fb076fff3608b4f921c8647b8c3b218 (
plain) (
blame)
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
39
40
41
42
43
44
45
46
47
48
49
|
{ buildPythonPackage
, fetchPypi
, lib
, distro
, pysnmp
, python-gnupg
, qrcode
, requests
, sseclient-py
, zfec
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "blocksat-cli";
version = "0.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "06ky5kahh8dm1d7ckid3fdwizvkh3g4aycm39r00kwxdlfca7bgf";
};
propagatedBuildInputs = [
distro
pysnmp
python-gnupg
qrcode
requests
sseclient-py
zfec
];
checkInputs = [ pytestCheckHook ];
pytestFlagsArray = [
# disable tests which require being connected to the satellite
"--ignore=blocksatcli/test_satip.py"
"--ignore=blocksatcli/api/test_net.py"
# disable tests which require being online
"--ignore=blocksatcli/api/test_order.py"
];
meta = with lib; {
description = "Blockstream Satellite CLI";
homepage = "https://github.com/Blockstream/satellite";
license = licenses.gpl3Only;
maintainers = with maintainers; [ prusnak ];
};
}
|