import: snix: Adjust names of license attributes.
* guix/import/snix.scm (license-variable): Adjust names to current Nixpkgs.
This commit is contained in:
parent
f073e52382
commit
72c62716be
|
@ -1,5 +1,5 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2010, 2011, 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2010, 2011, 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -323,12 +323,12 @@ attributes, or #f if NAME cannot be found."
|
||||||
;; licenses. These are listed in lib/licenses.nix.
|
;; licenses. These are listed in lib/licenses.nix.
|
||||||
(match (and=> (find-attribute-by-name "shortName" license)
|
(match (and=> (find-attribute-by-name "shortName" license)
|
||||||
attribute-value)
|
attribute-value)
|
||||||
("AGPL-3.0+" 'agpl3+)
|
("agpl3Plus" 'agpl3+)
|
||||||
("GPL-2.0+" 'gpl2+)
|
("gpl2Plus" 'gpl2+)
|
||||||
("GPL-3.0+" 'gpl3+)
|
("gpl3Plus" 'gpl3+)
|
||||||
("LGPL-2.0+" 'lgpl2.0+)
|
("lgpl2Plus" 'lgpl2.0+)
|
||||||
("LGPL-2.1+" 'lgpl2.1+)
|
("lgpl21Plus" 'lgpl2.1+)
|
||||||
("LGPL-3.0+" 'lgpl3+)
|
("lgpl3Plus" 'lgpl3+)
|
||||||
((? string? x) x)
|
((? string? x) x)
|
||||||
(_ license)))
|
(_ license)))
|
||||||
(_ license)))
|
(_ license)))
|
||||||
|
|
Loading…
Reference in New Issue