Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
53 lines
983 B
Nix
53 lines
983 B
Nix
{
|
|
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";
|
|
tag = "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;
|
|
};
|
|
})
|