alliance: Switch to GitHub repository, update to 2025

This is the source repository referenced by their website described in meta.
Also, remove some flags that have become unnecessary, add a new one that has

+15 -18
+15 -18
pkgs/by-name/al/alliance/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - fetchFromGitLab, 4 + fetchFromGitHub, 5 5 xorgproto, 6 6 motif, 7 7 libX11, ··· 16 16 17 17 stdenv.mkDerivation { 18 18 pname = "alliance"; 19 - version = "unstable-2022-01-13"; 19 + version = "unstable-2025-02-24"; 20 20 21 - src = fetchFromGitLab { 22 - domain = "gitlab.lip6.fr"; 23 - owner = "vlsi-eda"; 24 - repo = "alliance"; 25 - rev = "ebece102e15c110fc79f1da50524c68fd9523f0c"; 26 - hash = "sha256-NGtE3ZmN9LrgXG4NIKrp7dFRVzrKMoudlPUtYYKrZjY="; 27 - }; 28 - 29 - prePatch = "cd alliance/src"; 21 + src = 22 + let 23 + src = fetchFromGitHub { 24 + owner = "lip6"; 25 + repo = "alliance"; 26 + rev = "a8502d32df0a4ad1bd29ab784c4332319669ecd2"; 27 + hash = "sha256-b2uaYZEzHMB3qCMRVANNnjTxr6OYb1Unswxjq5knYzM="; 28 + }; 29 + in 30 + "${src}/alliance/src"; 30 31 31 32 nativeBuildInputs = [ 32 33 libtool ··· 43 44 bison 44 45 ]; 45 46 46 - # Disable parallel build, errors: 47 - # ./pat_decl_y.y:736:5: error: expected '=', ... 48 - enableParallelBuilding = false; 49 - 50 - ALLIANCE_TOP = placeholder "out"; 51 - 52 47 configureFlags = [ 53 - "--prefix=${placeholder "out"}" 54 48 "--enable-alc-shared" 55 49 ]; 50 + 51 + # To avoid compiler error in LoadDataBase.c:366:27 52 + env.NIX_CFLAGS_COMPILE = "-Wno-incompatible-pointer-types"; 56 53 57 54 postPatch = '' 58 55 # texlive for docs seems extreme