c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
49 lines
994 B
Nix
49 lines
994 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, glib
|
|
, gsettings-desktop-schemas
|
|
, python3
|
|
, unstableGitUpdater
|
|
, wrapGAppsHook
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "chirp";
|
|
version = "unstable-2023-03-15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kk7ds";
|
|
repo = "chirp";
|
|
rev = "33402b7c545c5a92b7042369867e7eb75ef32a59";
|
|
hash = "sha256-duSEpd2GBBskoKNFos5X9wFtsjRct1918VhZd1T2rvU=";
|
|
};
|
|
buildInputs = [
|
|
glib
|
|
gsettings-desktop-schemas
|
|
];
|
|
nativeBuildInputs = [
|
|
wrapGAppsHook
|
|
];
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
future
|
|
pyserial
|
|
requests
|
|
six
|
|
wxPython_4_2
|
|
yattag
|
|
];
|
|
|
|
# "running build_ext" fails with no output
|
|
doCheck = false;
|
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
branch = "py3";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "A free, open-source tool for programming your amateur radio";
|
|
homepage = "https://chirp.danplanet.com/";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|