Files
nixpkgs/pkgs/by-name/ap/aprx/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

49 lines
1009 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
perl,
}:
stdenv.mkDerivation {
pname = "aprx";
version = "2.9.1-unstable-2021-09-21";
src = fetchFromGitHub {
owner = "PhirePhly";
repo = "aprx";
rev = "2c84448fe6d897980234961a87ee4c1d4fad69ec";
hash = "sha256-01PB7FaG8GmPm1U15/3g1CfQwdYmf3ThZFdVh2zUAl4=";
};
nativeBuildInputs = [ perl ];
env.NIX_CFLAGS_COMPILE = toString [
"-fcommon"
"-O2"
"-Wno-implicit-int" # clang, gcc 14
];
configureFlags = [
"--with-erlangstorage"
"--sbindir=$(out)/bin"
"--sysconfdir=$(out)/etc"
"--mandir=$(out)/share/man"
];
makeFlags = [ "INSTALL=install" ];
preInstall = ''
mkdir -p $out/bin $out/share/man/man8 $out/etc
'';
meta = with lib; {
description = "Multitalented APRS i-gate / digipeater";
homepage = "http://thelifeofkenneth.com/aprx";
license = licenses.bsd3;
maintainers = with maintainers; [ sarcasticadmin ];
mainProgram = "aprx";
platforms = platforms.unix;
};
}