chirp: 0.4.0-unstable-2024-10-03 -> 0.4.0-unstable-2024-11-11

Diff: 387d8f6353...71812ad121
This commit is contained in:
Nick Cao 2024-11-14 22:47:38 -05:00
parent 4aad3e8c77
commit be1e80726f
No known key found for this signature in database

View File

@ -1,41 +1,68 @@
{ lib {
, fetchFromGitHub lib,
, writeShellScript fetchFromGitHub,
, glib writeShellScript,
, gsettings-desktop-schemas glib,
, python3 gsettings-desktop-schemas,
, unstableGitUpdater python3Packages,
, wrapGAppsHook3 unstableGitUpdater,
wrapGAppsHook3,
}: }:
python3.pkgs.buildPythonApplication rec { python3Packages.buildPythonApplication {
pname = "chirp"; pname = "chirp";
version = "0.4.0-unstable-2024-10-03"; version = "0.4.0-unstable-2024-11-11";
pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kk7ds"; owner = "kk7ds";
repo = "chirp"; repo = "chirp";
rev = "387d8f63535140779864e8973fbde0bad17f8512"; rev = "71812ad1214fcd1555375aeddfc5ddaf2079918b";
hash = "sha256-kJ2Cr2ks901GUVFscyCInsTSTM7g42NRYYxjTZsh1Lw="; hash = "sha256-cDDv3GECxoJu0LT8mYeStFL4DeQKS638ZoweI8HbvaI=";
}; };
nativeBuildInputs = [
wrapGAppsHook3
];
buildInputs = [ buildInputs = [
glib glib
gsettings-desktop-schemas gsettings-desktop-schemas
]; ];
nativeBuildInputs = [
wrapGAppsHook3 build-system = with python3Packages; [
]; setuptools
propagatedBuildInputs = with python3.pkgs; [
future
pyserial
requests
six
suds
wxpython
yattag
]; ];
# "running build_ext" fails with no output dependencies = with python3Packages; [
pyserial
requests
yattag
suds
wxpython
];
nativeCheckInputs = with python3Packages; [
pytestCheckHook
pytest-xdist
ddt
pyyaml
];
postPatch = ''
substituteInPlace chirp/locale/Makefile \
--replace-fail /usr/bin/find find
'';
preBuild = ''
make -C chirp/locale
'';
preCheck = ''
export HOME="$TMPDIR"
'';
# many upstream test failures
doCheck = false; doCheck = false;
passthru.updateScript = unstableGitUpdater { passthru.updateScript = unstableGitUpdater {
@ -44,11 +71,15 @@ python3.pkgs.buildPythonApplication rec {
''; '';
}; };
meta = with lib; { meta = {
description = "Free, open-source tool for programming your amateur radio"; description = "Free, open-source tool for programming your amateur radio";
homepage = "https://chirp.danplanet.com/"; homepage = "https://chirp.danplanet.com/";
license = licenses.gpl3Plus; license = lib.licenses.gpl3Plus;
maintainers = with maintainers; [ emantor wrmilling ]; maintainers = with lib.maintainers; [
platforms = platforms.linux; emantor
wrmilling
nickcao
];
platforms = lib.platforms.linux;
}; };
} }