[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/05: import: crate: Export 'string->license'.
From: |
guix-commits |
Subject: |
02/05: import: crate: Export 'string->license'. |
Date: |
Thu, 16 Jan 2020 17:14:24 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 72c678af55390ce01bec590f760ab95af67663b2
Author: Ludovic Courtès <address@hidden>
AuthorDate: Thu Jan 16 21:45:36 2020 +0100
import: crate: Export 'string->license'.
* guix/import/crate.scm (string->license): Export.
* tests/crate.scm (string->license): Remove.
---
guix/import/crate.scm | 3 ++-
tests/crate.scm | 5 +----
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/guix/import/crate.scm b/guix/import/crate.scm
index 405a26a..57823c3 100644
--- a/guix/import/crate.scm
+++ b/guix/import/crate.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 David Craven <address@hidden>
-;;; Copyright © 2019 Ludovic Courtès <address@hidden>
+;;; Copyright © 2019, 2020 Ludovic Courtès <address@hidden>
;;; Copyright © 2019 Martin Becze <address@hidden>
;;;
;;; This file is part of GNU Guix.
@@ -40,6 +40,7 @@
#:use-module (srfi srfi-26)
#:export (crate->guix-package
guix-package->crate-name
+ string->license
crate-recursive-import
%crate-updater))
diff --git a/tests/crate.scm b/tests/crate.scm
index 61933a8..aa51fae 100644
--- a/tests/crate.scm
+++ b/tests/crate.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 David Thompson <address@hidden>
;;; Copyright © 2016 David Craven <address@hidden>
-;;; Copyright © 2019 Ludovic Courtès <address@hidden>
+;;; Copyright © 2019, 2020 Ludovic Courtès <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -233,9 +233,6 @@
(define test-source-hash
"")
-(define string->license
- (@@ (guix import crate) string->license))
-
(test-begin "crate")
(test-equal "guix-package->crate-name"