diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-09-01 16:32:11 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-09-04 13:02:27 +0200 |
commit | 191668bc9759dc87a27b5f4d55d214cc655f197f (patch) | |
tree | aea247c0ff95c041dec543f7d20e43426ee903dc /tests/crate.scm | |
parent | 2791870d09afd247a011bc8cb6cf88661729bd98 (diff) | |
download | guix-191668bc9759dc87a27b5f4d55d214cc655f197f.tar.gz |
import: crate: Correct interpretation of dual-licensing strings.
* guix/import/crate.scm (%dual-license-rx): New variable. (crate->guix-package)[string->license]: Rewrite to match it. * tests/crate.scm (test-crate): Adjust "license" field to current practice.
Diffstat (limited to 'tests/crate.scm')
-rw-r--r-- | tests/crate.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/crate.scm b/tests/crate.scm index 8a232ba06c..c14862ad9f 100644 --- a/tests/crate.scm +++ b/tests/crate.scm @@ -41,7 +41,7 @@ \"actual_versions\": [ { \"id\": \"foo\", \"num\": \"1.0.0\", - \"license\": \"MIT/Apache-2.0\", + \"license\": \"MIT OR Apache-2.0\", \"links\": { \"dependencies\": \"/api/v1/crates/foo/1.0.0/dependencies\" } |