gnucap: replace fetchFromSavannah with fetchgit; update links
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
fetchFromSavannah,
|
||||
fetchgit,
|
||||
gnucap,
|
||||
installShellFiles,
|
||||
lib,
|
||||
@@ -10,9 +10,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnucap-modelgen-verilog";
|
||||
version = "20240220";
|
||||
|
||||
src = fetchFromSavannah {
|
||||
repo = "gnucap/gnucap-modelgen-verilog";
|
||||
rev = finalAttrs.version;
|
||||
src = fetchgit {
|
||||
url = "https://https.git.savannah.gnu.org/git/gnucap/gnucap-modelgen-verilog.git";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-hDH+aUuCjr5JK2UOy1diNXJaqt6Lrw4GgiiZmQ/SaQs=";
|
||||
};
|
||||
|
||||
@@ -38,7 +38,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
meta = {
|
||||
description = "gnucap modelgen to preprocess, parse and dump vams files";
|
||||
homepage = "http://www.gnucap.org/";
|
||||
changelog = "https://git.savannah.gnu.org/cgit/gnucap.git/plain/NEWS?h=v${finalAttrs.version}";
|
||||
mainProgram = "gnucap-mg-vams";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.all;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
callPackage,
|
||||
fetchFromSavannah,
|
||||
fetchgit,
|
||||
installShellFiles,
|
||||
lib,
|
||||
readline,
|
||||
@@ -14,9 +14,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnucap";
|
||||
version = "20240220";
|
||||
|
||||
src = fetchFromSavannah {
|
||||
repo = "gnucap";
|
||||
rev = finalAttrs.version;
|
||||
src = fetchgit {
|
||||
url = "https://https.git.savannah.gnu.org/git/gnucap.git";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-aZMiNKwI6eQZAxlF/+GoJhKczohgGwZ0/Wgpv3+AhYY=";
|
||||
};
|
||||
|
||||
@@ -83,7 +83,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
It performs nonlinear dc and transient analyses, fourier analysis, and ac analysis.
|
||||
'';
|
||||
homepage = "http://www.gnucap.org/";
|
||||
changelog = "https://git.savannah.gnu.org/gitweb/?p=gnucap.git;a=blob;f=NEWS";
|
||||
changelog = "https://gitweb.git.savannah.gnu.org/gitweb/?p=gnucap.git;a=blob;f=NEWS";
|
||||
license = lib.licenses.gpl3Only;
|
||||
platforms = lib.platforms.all;
|
||||
broken = stdenv.hostPlatform.isDarwin; # Relies on LD_LIBRARY_PATH
|
||||
|
||||
Reference in New Issue
Block a user