nixpkgs/pkgs/applications/radio/chirp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
994 B
Nix
Raw Normal View History

{ lib
2022-12-08 03:38:04 +00:00
, fetchFromGitHub
, glib
, gsettings-desktop-schemas
2022-12-08 03:38:04 +00:00
, python3
, unstableGitUpdater
, wrapGAppsHook
}:
2015-07-24 22:40:35 +00:00
2022-12-08 03:38:04 +00:00
python3.pkgs.buildPythonApplication rec {
pname = "chirp";
version = "unstable-2023-06-02";
2022-12-08 03:38:04 +00:00
src = fetchFromGitHub {
owner = "kk7ds";
repo = "chirp";
rev = "72789c3652c332dc68ba694f8f8f005913fe5c95";
hash = "sha256-WQwCX7h9BFLdYOBVVntxQ6g4t3j7QLfNmlHVLzlRh7U=";
2015-07-24 22:40:35 +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
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";
};
meta = with lib; {
description = "A free, open-source tool for programming your amateur radio";
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;
};
}