gnucap: replace `fetchFromSavannah` with `fetchgit`; update links

Jasi f9a2a2c4 d64f7e7d

+9 -10
+4 -5
pkgs/by-name/gn/gnucap/modelgen-verilog.nix
··· 1 1 { 2 - fetchFromSavannah, 2 + fetchgit, 3 3 gnucap, 4 4 installShellFiles, 5 5 lib, ··· 10 10 pname = "gnucap-modelgen-verilog"; 11 11 version = "20240220"; 12 12 13 - src = fetchFromSavannah { 14 - repo = "gnucap/gnucap-modelgen-verilog"; 15 - rev = finalAttrs.version; 13 + src = fetchgit { 14 + url = "https://https.git.savannah.gnu.org/git/gnucap/gnucap-modelgen-verilog.git"; 15 + tag = finalAttrs.version; 16 16 hash = "sha256-hDH+aUuCjr5JK2UOy1diNXJaqt6Lrw4GgiiZmQ/SaQs="; 17 17 }; 18 18 ··· 38 38 meta = { 39 39 description = "gnucap modelgen to preprocess, parse and dump vams files"; 40 40 homepage = "http://www.gnucap.org/"; 41 - changelog = "https://git.savannah.gnu.org/cgit/gnucap.git/plain/NEWS?h=v${finalAttrs.version}"; 42 41 mainProgram = "gnucap-mg-vams"; 43 42 license = lib.licenses.gpl3Plus; 44 43 platforms = lib.platforms.all;
+5 -5
pkgs/by-name/gn/gnucap/package.nix
··· 1 1 { 2 2 callPackage, 3 - fetchFromSavannah, 3 + fetchgit, 4 4 installShellFiles, 5 5 lib, 6 6 readline, ··· 14 14 pname = "gnucap"; 15 15 version = "20240220"; 16 16 17 - src = fetchFromSavannah { 18 - repo = "gnucap"; 19 - rev = finalAttrs.version; 17 + src = fetchgit { 18 + url = "https://https.git.savannah.gnu.org/git/gnucap.git"; 19 + tag = finalAttrs.version; 20 20 hash = "sha256-aZMiNKwI6eQZAxlF/+GoJhKczohgGwZ0/Wgpv3+AhYY="; 21 21 }; 22 22 ··· 83 83 It performs nonlinear dc and transient analyses, fourier analysis, and ac analysis. 84 84 ''; 85 85 homepage = "http://www.gnucap.org/"; 86 - changelog = "https://git.savannah.gnu.org/gitweb/?p=gnucap.git;a=blob;f=NEWS"; 86 + changelog = "https://gitweb.git.savannah.gnu.org/gitweb/?p=gnucap.git;a=blob;f=NEWS"; 87 87 license = lib.licenses.gpl3Only; 88 88 platforms = lib.platforms.all; 89 89 broken = stdenv.hostPlatform.isDarwin; # Relies on LD_LIBRARY_PATH