guix-commits
[Top][All Lists]
Advanced

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

01/08: import: github: 'github-package?' uses 'package-upstream-name'.


From: guix-commits
Subject: 01/08: import: github: 'github-package?' uses 'package-upstream-name'.
Date: Tue, 27 Aug 2019 06:46:12 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit dd6976dd75ca97572e0e88a6be2e550fb0824c68
Author: Ludovic Courtès <address@hidden>
Date:   Mon Aug 26 21:34:40 2019 +0200

    import: github: 'github-package?' uses 'package-upstream-name'.
    
    * guix/import/github.scm (updated-github-url): Use
    'package-upstream-name' instead of 'package-name'.  This allows
    'github-package?' to match more packages, given an appropriate upstream
    name.
---
 guix/import/github.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/import/github.scm b/guix/import/github.scm
index fa23fa4..55e1f72 100644
--- a/guix/import/github.scm
+++ b/guix/import/github.scm
@@ -49,7 +49,7 @@ false if none is recognized"
   (define (updated-url url)
     (if (string-prefix? "https://github.com/"; url)
         (let ((ext     (or (find-extension url) ""))
-              (name    (package-name old-package))
+              (name    (package-upstream-name old-package))
               (version (package-version old-package))
               (prefix  (string-append "https://github.com/";
                                       (github-user-slash-repository url)))



reply via email to

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