libax25: new src target and enforce strictDeps (#439888)

authored by Tristan Ross and committed by GitHub 1858afe3 a3334dc7

+18 -9
+18 -9
pkgs/by-name/li/libax25/package.nix
··· 1 { 2 lib, 3 stdenv, 4 - fetchurl, 5 glibc, 6 }: 7 8 - stdenv.mkDerivation rec { 9 pname = "libax25"; 10 version = "0.0.12-rc5"; 11 12 - buildInputs = [ glibc ] ++ lib.optionals stdenv.hostPlatform.isStatic [ glibc.static ]; 13 14 - # Due to recent unsolvable administrative domain problems with linux-ax25.org, 15 - # the new domain is linux-ax25.in-berlin.de 16 - src = fetchurl { 17 - url = "https://linux-ax25.in-berlin.de/pub/ax25-lib/libax25-${version}.tar.gz"; 18 - hash = "sha256-vxV5GVDOHr38N/512ArZpnZ+a7FTbXBNpoSJkc9DI98="; 19 }; 20 21 configureFlags = [ "--sysconfdir=/etc" ]; ··· 32 maintainers = with maintainers; [ sarcasticadmin ]; 33 platforms = platforms.linux; 34 }; 35 - }
··· 1 { 2 lib, 3 stdenv, 4 + fetchFromGitHub, 5 + autoreconfHook, 6 glibc, 7 }: 8 9 + stdenv.mkDerivation (finalAttrs: { 10 pname = "libax25"; 11 version = "0.0.12-rc5"; 12 13 + strictDeps = true; 14 15 + nativeBuildInputs = [ 16 + autoreconfHook 17 + glibc 18 + ] 19 + ++ lib.optionals stdenv.hostPlatform.isStatic [ glibc.static ]; 20 + 21 + # src from linux-ax25.in-berlin.de remote has been 22 + # unreliable, pointing to github mirror from the radiocatalog 23 + src = fetchFromGitHub { 24 + owner = "radiocatalog"; 25 + repo = "libax25"; 26 + tag = "libax25-${finalAttrs.version}"; 27 + hash = "sha256-MQDrroRZhtWJiu3N7FQVp5/sqe1MDjdwKu4ufnfHTUM="; 28 }; 29 30 configureFlags = [ "--sysconfdir=/etc" ]; ··· 41 maintainers = with maintainers; [ sarcasticadmin ]; 42 platforms = platforms.linux; 43 }; 44 + })