2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2022-12-08 03:38:04 +00:00
|
|
|
, fetchFromGitHub
|
2023-04-17 01:59:46 +00:00
|
|
|
, glib
|
|
|
|
, gsettings-desktop-schemas
|
2022-12-08 03:38:04 +00:00
|
|
|
, python3
|
|
|
|
, unstableGitUpdater
|
2023-04-17 01:59:46 +00:00
|
|
|
, wrapGAppsHook
|
2019-11-28 18:04:25 +00:00
|
|
|
}:
|
2015-07-24 22:40:35 +00:00
|
|
|
|
2022-12-08 03:38:04 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "chirp";
|
2023-06-03 10:15:22 +00:00
|
|
|
version = "unstable-2023-06-02";
|
2022-12-08 03:38:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kk7ds";
|
|
|
|
repo = "chirp";
|
2023-06-03 10:15:22 +00:00
|
|
|
rev = "72789c3652c332dc68ba694f8f8f005913fe5c95";
|
|
|
|
hash = "sha256-WQwCX7h9BFLdYOBVVntxQ6g4t3j7QLfNmlHVLzlRh7U=";
|
2015-07-24 22:40:35 +00:00
|
|
|
};
|
2023-04-17 01:59:46 +00:00
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2022-12-08 03:38:04 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
future
|
|
|
|
pyserial
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
wxPython_4_2
|
2023-03-18 22:13:35 +00:00
|
|
|
yattag
|
2015-07-24 22:40:35 +00:00
|
|
|
];
|
|
|
|
|
2022-12-08 03:38:04 +00:00
|
|
|
# "running build_ext" fails with no output
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
|
|
branch = "py3";
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-02-27 17:24:00 +00:00
|
|
|
description = "A free, open-source tool for programming your amateur radio";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://chirp.danplanet.com/";
|
2022-12-08 03:38:04 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2015-07-24 22:40:35 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|