ardopc: init at unstable-2021-08-28
This commit is contained in:
parent
1622d8059f
commit
e656d2286a
1 changed files with 51 additions and 0 deletions
51
pkgs/by-name/ar/ardopc/package.nix
Normal file
51
pkgs/by-name/ar/ardopc/package.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{ fetchFromGitHub
|
||||
, lib
|
||||
, makeWrapper
|
||||
, pkg-config
|
||||
, stdenv
|
||||
, alsa-lib
|
||||
, flrig
|
||||
, hamlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ardopc";
|
||||
version = "unstable-2021-08-28";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hamarituc";
|
||||
repo = "ardop";
|
||||
rev = "20210828";
|
||||
hash = "sha256-OUw9spFTsQLnsXksbfl3wD2NyY40JTyvlvONEIeZyWo=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/ARDOPC";
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
flrig
|
||||
hamlib
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D ardopc $out/bin/ardopc
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "ARDOP (Amateur Radio Digital Open Protocol) TNC implementation by John Wiseman (GM8BPQ)";
|
||||
homepage = "https://github.com/hamarituc/ardop/ARDOPC";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ oliver-koss ];
|
||||
mainProgram = "ardopc";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue