summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-02-12 14:49:47 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2021-02-12 14:49:47 +0100
commit224582c54f3ff8f935c8e0fa56de4d5b0836d709 (patch)
tree3ee189dd624cd6c2f44178a3c10291977f085093 /gnu
parent9e549633827717d1bf6df1ef86580f88d3584b55 (diff)
downloadguix-224582c54f3ff8f935c8e0fa56de4d5b0836d709.tar.gz
gnu: flamp: Use git repository.
The tarballs of older versions are not kept on the website.

* gnu/packages/radio.scm (flamp)[source]: Switch to git repository.
  [native-inputs]: Add autoconf and automake.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/radio.scm14
1 files changed, 9 insertions, 5 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 2b88db41c1..53c9d20ac0 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -655,14 +655,18 @@ or USB connection.")
     (version "2.2.05")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "http://www.w1hkj.com/files/flamp/flamp-"
-                           version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.code.sf.net/p/fldigi/flamp")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "19z1kghhdf7bq6hi2j0mzlsn2nhpn3gl1a623x3inmsk80yw3ck4"))))
+        (base32 "0ll2wbhyh1sb4iqsypwrd118mrgw3vbsdbz442qhk4r6l8kjzblq"))))
     (build-system gnu-build-system)
     (native-inputs
-     `(("pkg-config" ,pkg-config)))
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("pkg-config" ,pkg-config)))
     (inputs
      `(("fltk" ,fltk)
        ("libx11" ,libx11)