guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/15: gnu: emacs-cyberpunk-theme: Don't use unstable tarball.


From: guix-commits
Subject: 07/15: gnu: emacs-cyberpunk-theme: Don't use unstable tarball.
Date: Tue, 26 Nov 2019 13:58:11 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 0dcb8e83f4c96cffa790b46768496988b390937a
Author: Efraim Flashner <address@hidden>
Date:   Tue Nov 26 20:43:04 2019 +0200

    gnu: emacs-cyberpunk-theme: Don't use unstable tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-cyberpunk-theme)[source]: Download
    using git-fetch.
---
 gnu/packages/emacs-xyz.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7cebb81..415814b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8060,13 +8060,14 @@ Flx has support for ido (interactively do things) 
through flx-ido.")
     (version "1.19")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/n3mo/cyberpunk-theme.el/";
-                           "archive/" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/n3mo/cyberpunk-theme.el/";)
+              (commit version)))
        (sha256
         (base32
-         "05l5fxw1mn5py6mfhxrzyqjq0d8m5m1akfi46vrgh13r414jffvv"))
-       (file-name (string-append name "-" version ".tar.gz"))))
+         "1npwrw3pgdmvqhihcqcfi2yrs178iiip5fcj8zhpp6cr9yqsvvgi"))
+       (file-name (git-file-name name version))))
     (build-system emacs-build-system)
     (home-page "https://github.com/n3mo/cyberpunk-theme.el";)
     (synopsis "Cyberpunk theme for emacs built-in color theme support")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]