2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2022-12-17 10:02:37 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
, unstableGitUpdater
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "chirp";
|
2023-03-30 22:05:00 +00:00
|
|
|
version = "unstable-2023-03-15";
|
2022-12-17 10:02:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kk7ds";
|
|
|
|
repo = "chirp";
|
2023-03-30 22:05:00 +00:00
|
|
|
rev = "33402b7c545c5a92b7042369867e7eb75ef32a59";
|
|
|
|
hash = "sha256-duSEpd2GBBskoKNFos5X9wFtsjRct1918VhZd1T2rvU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
future
|
|
|
|
pyserial
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
wxPython_4_2
|
2023-03-30 22:05:00 +00:00
|
|
|
yattag
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
# "running build_ext" fails with no output
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
|
|
branch = "py3";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A free, open-source tool for programming your amateur radio";
|
|
|
|
homepage = "https://chirp.danplanet.com/";
|
2022-12-17 10:02:37 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|