at 24.05-pre 31 lines 916 B view raw
1{ lib 2, stdenv 3, fetchurl 4, glibc 5}: 6 7stdenv.mkDerivation rec { 8 pname = "libax25"; 9 version = "0.0.12-rc5"; 10 11 buildInputs = [ glibc ] ++ lib.optionals stdenv.hostPlatform.isStatic [ glibc.static ]; 12 13 # Due to recent unsolvable administrative domain problems with linux-ax25.org, 14 # the new domain is linux-ax25.in-berlin.de 15 src = fetchurl { 16 url = "https://linux-ax25.in-berlin.de/pub/ax25-lib/libax25-${version}.tar.gz"; 17 hash = "sha256-vxV5GVDOHr38N/512ArZpnZ+a7FTbXBNpoSJkc9DI98="; 18 }; 19 20 configureFlags = [ "--sysconfdir=/etc" ]; 21 22 LDFLAGS = lib.optionals stdenv.hostPlatform.isStatic [ "-static-libgcc" "-static" ]; 23 24 meta = with lib; { 25 description = "AX.25 library for hamradio applications"; 26 homepage = "https://linux-ax25.in-berlin.de/wiki/Main_Page"; 27 license = licenses.lgpl21Only; 28 maintainers = with maintainers; [ sarcasticadmin ]; 29 platforms = platforms.linux; 30 }; 31}