3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #205376 from sarcasticadmin/rh/1670551378ax25

This commit is contained in:
Sandro 2022-12-24 03:52:19 +01:00 committed by GitHub
commit ff73a58c8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib
, stdenv
, fetchurl
, glibc
}:
stdenv.mkDerivation rec {
pname = "libax25";
version = "0.0.12-rc5";
buildInputs = [ glibc ] ++ lib.optional stdenv.hostPlatform.isStatic [ glibc.static ];
# Due to recent unsolvable administrative domain problems with linux-ax25.org,
# the new domain is linux-ax25.in-berlin.de
src = fetchurl {
url = "https://linux-ax25.in-berlin.de/pub/ax25-lib/libax25-${version}.tar.gz";
hash = "sha256-vxV5GVDOHr38N/512ArZpnZ+a7FTbXBNpoSJkc9DI98=";
};
configureFlags = [ "--sysconfdir=/etc" ];
LDFLAGS = lib.optionals stdenv.hostPlatform.isStatic [ "-static-libgcc" "-static" ];
meta = with lib; {
description = "AX.25 library for hamradio applications";
homepage = "https://linux-ax25.in-berlin.de/wiki/Main_Page";
license = licenses.lgpl21Only;
maintainers = with maintainers; [ sarcasticadmin ];
platforms = platforms.linux;
};
}

View file

@ -25455,6 +25455,8 @@ with pkgs;
libatasmart = callPackage ../os-specific/linux/libatasmart { };
libax25 = callPackage ../development/libraries/libax25 { };
libcgroup = callPackage ../os-specific/linux/libcgroup { };
libkrun = callPackage ../development/libraries/libkrun {