distro: Use `mirror://' URLs.
[jackhill/guix/guix.git] / distro / packages / gperf.scm
index 392b9dd..cd9b05f 100644 (file)
@@ -18,7 +18,7 @@
 
 (define-module (distro packages gperf)
   #:use-module (guix packages)
-  #:use-module (guix ftp)
+  #:use-module (guix download)
   #:use-module (guix utils)
   #:use-module (guix build-system gnu))
 
@@ -28,8 +28,8 @@
     (version "3.0.4")
     (source
      (origin
-      (method ftp-fetch)
-      (uri (string-append "ftp://ftp.gnu.org/gnu/gperf/gperf-"
+      (method url-fetch)
+      (uri (string-append "mirror://gnu/gperf/gperf-"
                           version ".tar.gz"))
       (sha256
        (base32