blob: fe8491dbc4b3cbe1daa7dc0f9719998dee0cafe8 (
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
41
42
43
44
45
46
47
48
49
50
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;
};
})
|