depot/third_party/nixpkgs/pkgs/applications/radio/chirp/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

50 lines
1 KiB
Nix

{ lib
, fetchFromGitHub
, glib
, gsettings-desktop-schemas
, python3
, unstableGitUpdater
, wrapGAppsHook
}:
python3.pkgs.buildPythonApplication rec {
pname = "chirp";
version = "unstable-2024-02-08";
src = fetchFromGitHub {
owner = "kk7ds";
repo = "chirp";
rev = "902043a937ee3611744f2a4e35cd902c7b0a8d0b";
hash = "sha256-oDUtR1xD73rfBRKkbE1f68siO/4oxoLxw16w1qa9fEo=";
};
buildInputs = [
glib
gsettings-desktop-schemas
];
nativeBuildInputs = [
wrapGAppsHook
];
propagatedBuildInputs = with python3.pkgs; [
future
pyserial
requests
six
wxpython
yattag
];
# "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/";
license = licenses.gpl3Plus;
maintainers = [ maintainers.emantor ];
platforms = platforms.linux;
};
}