summary refs log tree commit diff
path: root/lib/licenses.nix
diff options
context:
space:
mode:
authorBart Brouns <bart@magnetophon.nl>2014-11-24 04:46:55 +0100
committerVladimír Čunát <vcunat@gmail.com>2014-11-24 10:37:49 +0100
commit9dff67eed7238e338ec28a1d8341b0ce438b2663 (patch)
tree8c66160ce0c38926fa0360656dc621983930ff0f /lib/licenses.nix
parent9084dc581cc14720c0725ae0e60461bf1c26007e (diff)
downloadnixpkgs-9dff67eed7238e338ec28a1d8341b0ce438b2663.tar
nixpkgs-9dff67eed7238e338ec28a1d8341b0ce438b2663.tar.gz
nixpkgs-9dff67eed7238e338ec28a1d8341b0ce438b2663.tar.bz2
nixpkgs-9dff67eed7238e338ec28a1d8341b0ce438b2663.tar.lz
nixpkgs-9dff67eed7238e338ec28a1d8341b0ce438b2663.tar.xz
nixpkgs-9dff67eed7238e338ec28a1d8341b0ce438b2663.tar.zst
nixpkgs-9dff67eed7238e338ec28a1d8341b0ce438b2663.zip
lib/licenses: add gpl1 (close #5103)
@vcunat changed format to spdx.
Diffstat (limited to 'lib/licenses.nix')
-rw-r--r--lib/licenses.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/licenses.nix b/lib/licenses.nix
index 75a8149b7b9..93fe1118c94 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -134,6 +134,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
     fullName = "Unspecified free software license";
   };
 
+  gpl1 = spdx {
+    shortName = "GPL-1.0";
+    fullName = "GNU General Public License v1.0 only";
+  };
+
   gpl1Plus = spdx {
     spdxId = "GPL-1.0+";
     fullName = "GNU General Public License v1.0 or later";