uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
53
pkgs/development/python-modules/blocksat-cli/default.nix
Normal file
53
pkgs/development/python-modules/blocksat-cli/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
, distro
|
||||
, pysnmp
|
||||
, python-gnupg
|
||||
, qrcode
|
||||
, requests
|
||||
, sseclient-py
|
||||
, zfec
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "blocksat-cli";
|
||||
version = "0.4.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-btwL8l5UdE9FwWXfuf1OHa8EwXDoFrh8tvOwr1yhyRg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
distro
|
||||
pysnmp
|
||||
python-gnupg
|
||||
qrcode
|
||||
requests
|
||||
sseclient-py
|
||||
zfec
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# disable tests which require being connected to the satellite
|
||||
"blocksatcli/test_satip.py"
|
||||
"blocksatcli/api/test_listen.py"
|
||||
"blocksatcli/api/test_msg.py"
|
||||
"blocksatcli/api/test_net.py"
|
||||
# disable tests which require being online
|
||||
"blocksatcli/api/test_order.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "blocksatcli" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Blockstream Satellite CLI";
|
||||
homepage = "https://github.com/Blockstream/satellite";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ prusnak ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue