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";
|
|
|
|
version = "unstable-2022-12-07";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kk7ds";
|
|
|
|
repo = "chirp";
|
|
|
|
rev = "dc0c98d22423b496faf0a86296a6ec0bb3b3e11a";
|
|
|
|
hash = "sha256-z0xD11CB7Vt8k0dPXE+E5ZD9XAFwWNxjnUs25/Gd7zI=";
|
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
|
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;
|
|
|
|
};
|
|
|
|
}
|