f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
54 lines
1.2 KiB
Nix
54 lines
1.2 KiB
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, writeShellScript
|
|
, glib
|
|
, gsettings-desktop-schemas
|
|
, python3
|
|
, unstableGitUpdater
|
|
, wrapGAppsHook3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "chirp";
|
|
version = "0.4.0-unstable-2024-07-05";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kk7ds";
|
|
repo = "chirp";
|
|
rev = "f28814fff0566dcf6f93ac5b7a79d6d594202757";
|
|
hash = "sha256-SQ0j9DGJc48TsaUaesixJT/pMBm9NGw22qapSokj9r8=";
|
|
};
|
|
buildInputs = [
|
|
glib
|
|
gsettings-desktop-schemas
|
|
];
|
|
nativeBuildInputs = [
|
|
wrapGAppsHook3
|
|
];
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
future
|
|
pyserial
|
|
requests
|
|
six
|
|
suds
|
|
wxpython
|
|
yattag
|
|
];
|
|
|
|
# "running build_ext" fails with no output
|
|
doCheck = false;
|
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
tagConverter = writeShellScript "chirp-tag-converter.sh" ''
|
|
sed -e 's/^release_//g' -e 's/_/./g'
|
|
'';
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Free, open-source tool for programming your amateur radio";
|
|
homepage = "https://chirp.danplanet.com/";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ emantor wrmilling ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|