about summary refs log tree commit diff
path: root/pkgs/applications/radio/chirp/default.nix
blob: 52d3c566179dafe6487bd59ce1974a88c12c3e31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ lib
, fetchFromGitHub
, python3
, unstableGitUpdater
}:

python3.pkgs.buildPythonApplication rec {
  pname = "chirp";
  version = "unstable-2023-03-15";

  src = fetchFromGitHub {
    owner = "kk7ds";
    repo = "chirp";
    rev = "33402b7c545c5a92b7042369867e7eb75ef32a59";
    hash = "sha256-duSEpd2GBBskoKNFos5X9wFtsjRct1918VhZd1T2rvU=";
  };

  propagatedBuildInputs = with python3.pkgs; [
    future
    pyserial
    requests
    six
    wxPython_4_2
    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;
    platforms = platforms.linux;
  };
}