Files
nixpkgs/pkgs/by-name/ax/ax25-tools/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

41 lines
947 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
libax25,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ax25-tools";
version = "0.0.10-rc5";
strictDeps = true;
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libax25 ];
# src from linux-ax25.in-berlin.de remote has been
# unreliable, pointing to github mirror from the radiocatalog
src = fetchFromGitHub {
owner = "radiocatalog";
repo = "ax25-tools";
tag = "ax25-tools-${finalAttrs.version}";
hash = "sha256-yoFflC3KU3cKQEENj4MF793TvUdf38C2Q9B7nMuLgMg=";
};
configureFlags = [
"--sysconfdir=/etc"
"--localstatedir=/var/lib"
];
meta = {
description = "Non-GUI tools used to configure an AX.25 enabled computer";
homepage = "https://linux-ax25.in-berlin.de/wiki/Main_Page";
license = lib.licenses.lgpl21Only;
maintainers = with lib.maintainers; [ sarcasticadmin ];
platforms = lib.platforms.linux;
};
})