blocksat-cli: init at 0.3.2
This commit is contained in:
parent
43685a7aec
commit
9ffff04156
3 changed files with 53 additions and 0 deletions
49
pkgs/development/python-modules/blocksat-cli/default.nix
Normal file
49
pkgs/development/python-modules/blocksat-cli/default.nix
Normal file
|
@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
|
@ -1333,6 +1333,8 @@ in
|
|||
|
||||
blockbench-electron = callPackage ../applications/graphics/blockbench-electron { };
|
||||
|
||||
blocksat-cli = with python3Packages; toPythonApplication blocksat-cli;
|
||||
|
||||
bmap-tools = callPackage ../tools/misc/bmap-tools { };
|
||||
|
||||
bonnmotion = callPackage ../development/tools/misc/bonnmotion { };
|
||||
|
|
|
@ -1141,6 +1141,8 @@ in {
|
|||
|
||||
block-io = callPackage ../development/python-modules/block-io { };
|
||||
|
||||
blocksat-cli = callPackage ../development/python-modules/blocksat-cli { };
|
||||
|
||||
blspy = callPackage ../development/python-modules/blspy { };
|
||||
|
||||
bluepy = callPackage ../development/python-modules/bluepy { };
|
||||
|
|
Loading…
Reference in a new issue