nixpkgs/pkgs/by-name/gr/grig/package.nix

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

47 lines
1.0 KiB
Nix
Raw Normal View History

2022-12-30 22:56:50 +00:00
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
wrapGAppsHook3,
2022-12-30 22:56:50 +00:00
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
wrapGAppsHook3
2022-12-30 22:56:50 +00:00
];
buildInputs = [
hamlib_4
gtk2
];
2022-12-30 22:56:50 +00:00
meta = with lib; {
description = "Simple Ham Radio control (CAT) program based on Hamlib";
mainProgram = "grig";
2022-12-30 22:56:50 +00:00
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 ];
};
}