import: crate: Export 'string->license'.
* guix/import/crate.scm (string->license): Export. * tests/crate.scm (string->license): Remove.master
parent
3597c0396b
commit
72c678af55
|
@ -1,6 +1,6 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2016 David Craven <david@craven.ch>
|
||||
;;; Copyright © 2019 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2019 Martin Becze <mjbecze@riseup.net>
|
||||
;;;
|
||||
;;; 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))
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2014 David Thompson <davet@gnu.org>
|
||||
;;; Copyright © 2016 David Craven <david@craven.ch>
|
||||
;;; Copyright © 2019 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
||||
;;;
|
||||
;;; 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"
|
||||
|
|
Reference in New Issue