Commit 5720827f authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.blocksat-cli: refactor

parent 37c1398c
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, distro
, fetchPypi
, pysnmp
, pytestCheckHook
, python-gnupg
, pythonOlder
, qrcode
, requests
, setuptools
, sseclient-py
, zfec
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "blocksat-cli";
  version = "0.4.6";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.7";

@@ -24,6 +25,10 @@ buildPythonPackage rec {
    hash = "sha256-uANAMNoAC4HUoUuR5ldxoiy+LLzZVpKosU5JttXLnqg=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    distro
    pysnmp
@@ -61,6 +66,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Blockstream Satellite CLI";
    homepage = "https://github.com/Blockstream/satellite";
    changelog = "https://github.com/Blockstream/satellite/releases/tag/v${version}";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ prusnak ];
  };