2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2022-12-08 03:38:04 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
, unstableGitUpdater
|
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-03-18 22:13:35 +00:00
|
|
|
version = "unstable-2023-03-15";
|
2022-12-08 03:38:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kk7ds";
|
|
|
|
repo = "chirp";
|
2023-03-18 22:13:35 +00:00
|
|
|
rev = "33402b7c545c5a92b7042369867e7eb75ef32a59";
|
|
|
|
hash = "sha256-duSEpd2GBBskoKNFos5X9wFtsjRct1918VhZd1T2rvU=";
|
2015-07-24 22:40:35 +00:00
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|