depot/third_party/nixpkgs/pkgs/applications/radio/grig/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

36 lines
995 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, wrapGAppsHook
, gtk2
, hamlib_4 }:
stdenv.mkDerivation rec {
pname = "grig";
version = "0.9.0";
src = fetchFromGitHub {
owner = "fillods";
repo = "grig";
rev = "GRIG-${lib.replaceStrings ["."] ["_"] version}";
sha256 = "sha256-OgIgHW9NMW/xSSti3naIR8AQWUtNSv5bYdOcObStBlM=";
};
nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ];
buildInputs = [ hamlib_4 gtk2 ];
meta = with lib; {
description = "A simple Ham Radio control (CAT) program based on Hamlib";
longDescription = ''
Grig is a graphical user interface for the Ham Radio Control Libraries.
It is intended to be simple and generic, presenting the user with the
same interface regardless of which radio they use.
'';
homepage = "https://groundstation.sourceforge.net/grig/";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ melling ];
};
}