summary refs log tree commit diff
path: root/lib/licenses.nix
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@gmail.com>2018-01-05 01:44:06 -0200
committerAndersonTorres <torres.anderson.85@gmail.com>2018-01-05 01:48:11 -0200
commit1d28f2ba6980971290b8acf9d57383f57bc845a8 (patch)
treeca449d44b218e7b71dce7759dff70807cbd5fd4b /lib/licenses.nix
parentc01cfb9e01c6925034119e7e027720e306e9043b (diff)
downloadnixpkgs-1d28f2ba6980971290b8acf9d57383f57bc845a8.tar
nixpkgs-1d28f2ba6980971290b8acf9d57383f57bc845a8.tar.gz
nixpkgs-1d28f2ba6980971290b8acf9d57383f57bc845a8.tar.bz2
nixpkgs-1d28f2ba6980971290b8acf9d57383f57bc845a8.tar.lz
nixpkgs-1d28f2ba6980971290b8acf9d57383f57bc845a8.tar.xz
nixpkgs-1d28f2ba6980971290b8acf9d57383f57bc845a8.tar.zst
nixpkgs-1d28f2ba6980971290b8acf9d57383f57bc845a8.zip
Add watcom-1.0 license
Diffstat (limited to 'lib/licenses.nix')
-rw-r--r--lib/licenses.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/licenses.nix b/lib/licenses.nix
index 1fdcc15fd72..29d6abf3648 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -2,7 +2,7 @@
 let
 
   spdx = lic: lic // {
-    url = "http://spdx.org/licenses/${lic.spdxId}";
+    url = "http://spdx.org/licenses/${lic.spdxId}.html";
   };
 
 in
@@ -564,6 +564,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
     fullName = "Vovida Software License v1.0";
   };
 
+  watcom = spdx {
+    spdxId = "Watcom-1.0";
+    fullName = "Sybase Open Watcom Public License 1.0";
+  };
+
   w3c = spdx {
     spdxId = "W3C";
     fullName = "W3C Software Notice and License";
@@ -598,5 +603,4 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
     spdxId = "ZPL-2.1";
     fullName = "Zope Public License 2.1";
   };
-
 }