Unverified Commit ca0b386e authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

fetchtastic: 0.10.2 -> 0.10.9 (#515948)

parents f26a9fa1 28357d43
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  python3,
}:

python3.pkgs.buildPythonApplication (finalAttrs: {
  pname = "fetchtastic";
  version = "0.10.2";
  version = "0.10.9";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jeremiah-k";
    repo = "fetchtastic";
    tag = finalAttrs.version;
    hash = "sha256-E8f0je4w4sTmf/EX9I8dZ4Ge4bsEvr8E6S5i02n5k+E=";
    hash = "sha256-eFDj3qv3cYt/7tf+v93QwqoVLEEfpt21g4l0MrLTaLc=";
  };

  pythonRelaxDeps = [ "platformdirs" ];
@@ -21,6 +22,8 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
  build-system = with python3.pkgs; [ setuptools ];

  dependencies = with python3.pkgs; [
    aiofiles
    aiohttp
    packaging
    pick
    platformdirs
@@ -31,6 +34,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
  ];

  nativeCheckInputs = with python3.pkgs; [
    pytest-asyncio
    pytest-cov-stub
    pytest-mock
    pytestCheckHook
@@ -38,6 +42,12 @@ python3.pkgs.buildPythonApplication (finalAttrs: {

  pythonImportsCheck = [ "fetchtastic" ];

  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
    "test_download_firmware_success"
    "test_get_target_path_for_release"
    "test_platform_functions"
  ];

  meta = {
    description = "Utility for downloading and managing the latest Meshtastic firmware releases";
    homepage = "https://github.com/jeremiah-k/fetchtastic";