Files
nixpkgs/pkgs/by-name/ax/ax25ms/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

66 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoconf,
protobuf,
pkg-config,
grpc,
libtool,
which,
automake,
libax25,
}:
stdenv.mkDerivation {
pname = "ax25ms";
version = "0-unstable-2024-04-28";
src = fetchFromGitHub {
owner = "ThomasHabets";
repo = "ax25ms";
rev = "c7d7213bb182e4b60f655c3f9f1bcb2b2440406b";
hash = "sha256-GljGJa44topJ6T0g5wuU8GTHLKzNmQqUl8/AR+pw2+I=";
};
buildInputs = [
protobuf
grpc
libax25
];
nativeBuildInputs = [
which
pkg-config
autoconf
libtool
automake
];
preConfigure = ''
patchShebangs scripts
./bootstrap.sh
'';
postInstall = ''
set +e
for binary_path in "$out/bin"/*; do
filename=$(basename "$binary_path")
mv "$binary_path" "$out/bin/ax25ms-$filename"
done
set -e
'';
meta = with lib; {
description = "Set of AX.25 microservices, designed to be pluggable for any implementation";
homepage = "https://github.com/ThomasHabets/ax25ms";
license = licenses.asl20;
maintainers = with maintainers; [
matthewcroughan
sarcasticadmin
pkharvey
];
platforms = platforms.all;
};
}