From 87b69fd74792c3076c85579dcc796e8a813b42e3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 6 May 2023 01:22:17 +0200 Subject: python310Packages.blocksat-cli: 0.4.4 -> 0.4.5 --- .../python-modules/blocksat-cli/default.nix | 26 +++++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/blocksat-cli/default.nix b/pkgs/development/python-modules/blocksat-cli/default.nix index 9edd9ac0d97..aaa20a4ae31 100644 --- a/pkgs/development/python-modules/blocksat-cli/default.nix +++ b/pkgs/development/python-modules/blocksat-cli/default.nix @@ -1,6 +1,6 @@ -{ buildPythonPackage +{ lib +, buildPythonPackage , fetchPypi -, lib , distro , pysnmp , python-gnupg @@ -9,15 +9,19 @@ , sseclient-py , zfec , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "blocksat-cli"; - version = "0.4.4"; + version = "0.4.5"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-btwL8l5UdE9FwWXfuf1OHa8EwXDoFrh8tvOwr1yhyRg="; + hash = "sha256-BLR1eivvlbSTx/jr7Rl778apPBcoFCaKOsYOqxS6Fo4="; }; propagatedBuildInputs = [ @@ -30,7 +34,9 @@ buildPythonPackage rec { zfec ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + ]; disabledTestPaths = [ # disable tests which require being connected to the satellite @@ -42,7 +48,15 @@ buildPythonPackage rec { "blocksatcli/api/test_order.py" ]; - pythonImportsCheck = [ "blocksatcli" ]; + disabledTests = [ + "test_monitor_get_stats" + "test_monitor_update_with_reporting_enabled" + "test_erasure_recovery" + ]; + + pythonImportsCheck = [ + "blocksatcli" + ]; meta = with lib; { description = "Blockstream Satellite CLI"; -- cgit 1.4.1