Subject: bug#43430: closed (Re: [bug#43430] [PATCH] gnu: adms: Update to 2.3.7.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 18 Sep 2020 07:50:02 +0000

Your bug report

#43430: [PATCH] gnu: adms: Update to 2.3.7.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
43430: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43430
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#43430] [PATCH] gnu: adms: Update to 2.3.7.
From: Mathieu Othacehe <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Fri, 18 Sep 2020 09:49:44 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

> * gnu/packages/engineering.scm (adms): Update to 2.3.7.

I added your copyright, edited the commit message to reflect all the
changes that were made and pushed.

Thanks,

Mathieu

Subject: [PATCH] gnu: adms: Update to 2.3.7.
From: [email-masked]
To: [email-masked]
Cc: Morgan Smith <[email-masked]>
Date: Tue, 15 Sep 2020 14:07:03 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Morgan Smith <[email-masked]>

* gnu/packages/engineering.scm (adms): Update to 2.3.7.
---
 gnu/packages/engineering.scm | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index bd89cef70c..eac015e911 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1328,21 +1328,26 @@ developed at MIT to model electromagnetic systems.")
 (define-public adms
   (package
     (name "adms")
-    (version "2.3.6")
+    (version "2.3.7")
     (source (origin
-              (method url-fetch)
-              (uri
-               (string-append
-                "mirror://sourceforge/mot-adms/adms-source/"
-                (version-major+minor version) "/adms-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/Qucs/ADMS")
+                    (commit (string-append "release-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1rn98l6jxcjhi6ai5f7p588khra9z80m0m0lql4n4sb7773fh1vk"))))
+                "0i37c9k6q1iglmzp9736rrgsnx7sw8xn3djqbbjw29zsyl3pf62c"))))
     (build-system gnu-build-system)
     (native-inputs
-     `(("flex" ,flex)
-       ("bison" ,bison)))
-    (home-page "https://sourceforge.net/projects/mot-adms")
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("bison" ,bison)
+       ("flex" ,flex)
+       ("libtool" ,libtool)
+       ("perl" ,perl)
+       ("perl-xml-libxml" ,perl-xml-libxml)))
+    (home-page "https://github.com/Qucs/ADMS")
     (synopsis "Automatic device model synthesizer")
     (description
      "ADMS is a code generator that converts electrical compact device models
-- 
2.28.0