mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
Without the change the build fails in `master` as https://hydra.nixos.org/build/319882690: ``` io.c:22:10: fatal error: termio.h: No such file or directory 22 | #include <termio.h> | ^~~~~~~~~~ ```
51 lines
1.1 KiB
Nix
51 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
libax25,
|
|
ncurses,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "ax25-apps";
|
|
version = "0.0.8-rc5-unstable-2021-05-13";
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [
|
|
libax25
|
|
ncurses
|
|
];
|
|
|
|
# src from linux-ax25.in-berlin.de remote has been
|
|
# unreliable, pointing to github mirror from the radiocatalog
|
|
src = fetchFromGitHub {
|
|
owner = "radiocatalog";
|
|
repo = "ax25-apps";
|
|
rev = "afc4a5faa01a24c4da1d152b901066405f36adb6";
|
|
hash = "sha256-RLeFndis2OhIkJPLD+YfEUrJdZL33huVzlHq+kGq7dA=";
|
|
};
|
|
|
|
patches = [
|
|
# Fix build against glibc-2.42
|
|
./glibc-2.42.patch
|
|
];
|
|
|
|
configureFlags = [
|
|
"--sysconfdir=/etc"
|
|
"--localstatedir=/var/lib"
|
|
"--program-transform-name=s@^call$@ax&@;s@^listen$@ax&@"
|
|
];
|
|
|
|
meta = {
|
|
description = "AX.25 ham radio applications";
|
|
homepage = "https://linux-ax25.in-berlin.de/wiki/Main_Page";
|
|
license = lib.licenses.lgpl21Only;
|
|
maintainers = with lib.maintainers; [ sarcasticadmin ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|