From 83f77cfd64d75935cc73b2b9b6a0a4117263e3af Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 00:00:04 +0200 Subject: [PATCH 01/17] libxpdf: add license --- pkgs/applications/misc/xpdf/libxpdf.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/misc/xpdf/libxpdf.nix b/pkgs/applications/misc/xpdf/libxpdf.nix index 3b982b1766f..7b7d9051ada 100644 --- a/pkgs/applications/misc/xpdf/libxpdf.nix +++ b/pkgs/applications/misc/xpdf/libxpdf.nix @@ -8,7 +8,7 @@ stdenv.mkDerivation { url = "ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02.tar.gz"; sha256 = "000zq4ddbwyxiki4vdwpmxbnw5n9hsg9hvwra2p33hslyib7sfmk"; }; - + patches = [ (fetchurl { url = "ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl1.patch"; @@ -39,14 +39,15 @@ stdenv.mkDerivation { cp -v goo/libGoo.a $out/lib/goo cp -v fofi/libfofi.a $out/lib/fofi cp -v xpdf/libxpdf.a $out/lib/xpdf - + cp -v *.h $out/include cp -v goo/*.h $out/include cp -v fofi/*.h $out/include cp -v xpdf/*.h $out/include ''; - - meta = { - platforms = stdenv.lib.platforms.unix; + + meta = with stdenv.lib; { + platforms = platforms.unix; + license = licenses.gpl2; }; } From 7c883bce76b46fa95f56b907455c86022243d754 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 00:11:06 +0200 Subject: [PATCH 02/17] kristall: add license --- pkgs/applications/networking/browsers/kristall/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/networking/browsers/kristall/default.nix b/pkgs/applications/networking/browsers/kristall/default.nix index c9b15b6d4fc..4028f8622c3 100644 --- a/pkgs/applications/networking/browsers/kristall/default.nix +++ b/pkgs/applications/networking/browsers/kristall/default.nix @@ -25,6 +25,7 @@ mkDerivation rec { "Graphical small-internet client, supports gemini, http, https, gopher, finger"; homepage = "https://random-projects.net/projects/kristall.gemini"; maintainers = with maintainers; [ ehmry ]; + license = licenses.gpl3; inherit (qtmultimedia.meta) platforms; }; } From a65df7777a867895b11eef924ac4a3813ff9a01b Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 00:14:33 +0200 Subject: [PATCH 03/17] links2: add license --- pkgs/applications/networking/browsers/links2/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/networking/browsers/links2/default.nix b/pkgs/applications/networking/browsers/links2/default.nix index d58fc8fd19b..0312c3b6895 100644 --- a/pkgs/applications/networking/browsers/links2/default.nix +++ b/pkgs/applications/networking/browsers/links2/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { homepage = "http://links.twibright.com/"; description = "A small browser with some graphics support"; maintainers = with maintainers; [ raskin ]; + license = licenses.gpl2Plus; platforms = platforms.unix; }; } From e55c49f5c0ea42f404f178391fc92420b58278ff Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 00:31:44 +0200 Subject: [PATCH 04/17] thunderbird: add license --- pkgs/applications/networking/mailreaders/thunderbird/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/networking/mailreaders/thunderbird/default.nix b/pkgs/applications/networking/mailreaders/thunderbird/default.nix index e9ae6696def..3b0be4dad19 100644 --- a/pkgs/applications/networking/mailreaders/thunderbird/default.nix +++ b/pkgs/applications/networking/mailreaders/thunderbird/default.nix @@ -336,5 +336,6 @@ stdenv.mkDerivation rec { pierron ]; platforms = platforms.linux; + license = licenses.mpl20; }; } From 52f9aebe64649c742bf765c7f4ae8e6a8b53465b Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 00:37:44 +0200 Subject: [PATCH 05/17] qalculate-gtk: add license --- pkgs/applications/science/math/qalculate-gtk/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/science/math/qalculate-gtk/default.nix b/pkgs/applications/science/math/qalculate-gtk/default.nix index e393111590a..213530b60a9 100644 --- a/pkgs/applications/science/math/qalculate-gtk/default.nix +++ b/pkgs/applications/science/math/qalculate-gtk/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { description = "The ultimate desktop calculator"; homepage = "http://qalculate.github.io"; maintainers = with maintainers; [ gebner ]; + license = licenses.gpl2Plus; platforms = platforms.all; }; } From 187b4a2e04e285be2eb70a4bcf1edac8e7b83465 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 00:43:21 +0200 Subject: [PATCH 06/17] root: add license --- pkgs/applications/science/misc/root/5.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/science/misc/root/5.nix b/pkgs/applications/science/misc/root/5.nix index 58cc8f8f59e..cab26577bd0 100644 --- a/pkgs/applications/science/misc/root/5.nix +++ b/pkgs/applications/science/misc/root/5.nix @@ -86,5 +86,6 @@ stdenv.mkDerivation rec { description = "A data analysis framework"; platforms = platforms.unix; maintainers = with maintainers; [ veprbl ]; + license = licenses.lgpl21; }; } From 3ddeb521d8add1fcbcdd5eef3e9cf2e55234ae92 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 00:53:42 +0200 Subject: [PATCH 07/17] nss-cacert: add license --- pkgs/data/misc/cacert/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/data/misc/cacert/default.nix b/pkgs/data/misc/cacert/default.nix index 27aa60ac09f..f72431c5a27 100644 --- a/pkgs/data/misc/cacert/default.nix +++ b/pkgs/data/misc/cacert/default.nix @@ -65,5 +65,6 @@ stdenv.mkDerivation { description = "A bundle of X.509 certificates of public Certificate Authorities (CA)"; platforms = platforms.all; maintainers = with maintainers; [ fpletz ]; + license = licenses.mpl20; }; } From 859de17f15f09be19e8d3736d9e9cbff5a1c83cf Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 01:15:25 +0200 Subject: [PATCH 08/17] cgui: add license --- pkgs/development/libraries/cgui/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/cgui/default.nix b/pkgs/development/libraries/cgui/default.nix index 39ed74d0075..d6c550a8da8 100644 --- a/pkgs/development/libraries/cgui/default.nix +++ b/pkgs/development/libraries/cgui/default.nix @@ -23,5 +23,6 @@ stdenv.mkDerivation rec { description = "A multiplatform basic GUI library"; maintainers = [ maintainers.raskin ]; platforms = platforms.linux; + license = licenses.free; }; } From b212289b9b31f360b1b38d1813b0248a848308f6 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 01:17:02 +0200 Subject: [PATCH 09/17] cm256cc: add license --- pkgs/development/libraries/cm256cc/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/cm256cc/default.nix b/pkgs/development/libraries/cm256cc/default.nix index aaf40998102..eaddcb86f54 100644 --- a/pkgs/development/libraries/cm256cc/default.nix +++ b/pkgs/development/libraries/cm256cc/default.nix @@ -19,5 +19,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/f4exb/cm256cc"; platforms = platforms.linux; maintainers = with maintainers; [ alkeryn ]; + license = licenses.gpl3; }; } From bf05411b3f84e3462d554100eb0de8588fa47cfe Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 01:27:15 +0200 Subject: [PATCH 10/17] dclib: add license, description, and homepage --- pkgs/development/libraries/dclib/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/dclib/default.nix b/pkgs/development/libraries/dclib/default.nix index 6b42af05c11..a9929ea2add 100644 --- a/pkgs/development/libraries/dclib/default.nix +++ b/pkgs/development/libraries/dclib/default.nix @@ -10,7 +10,10 @@ stdenv.mkDerivation { buildInputs = [libxml2 openssl bzip2]; - meta = { - platforms = stdenv.lib.platforms.linux; + meta = with stdenv.lib; { + description = "Peer-to-Peer file sharing client"; + homepage = "http://dcgui.berlios.de"; + platforms = platforms.linux; + license = [ licenses.openssl licenses.gpl2 ]; }; } From f3013dcfe03dcad4b40018acfe6341afba05bc02 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 01:36:33 +0200 Subject: [PATCH 11/17] json-c: add license --- pkgs/development/libraries/json-c/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/json-c/default.nix b/pkgs/development/libraries/json-c/default.nix index a3ddfe4c63c..c7a9b3c4a12 100644 --- a/pkgs/development/libraries/json-c/default.nix +++ b/pkgs/development/libraries/json-c/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/json-c/json-c/wiki"; maintainers = with maintainers; [ lovek323 ]; platforms = platforms.unix; + license = licenses.mit; longDescription = '' JSON-C implements a reference counting object model that allows you to From 80e616c6ae088a13d7905f0b08dd7097d3971600 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 11:37:16 +0200 Subject: [PATCH 12/17] blocksruntime: add meta data --- pkgs/development/libraries/libblocksruntime/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/libblocksruntime/default.nix b/pkgs/development/libraries/libblocksruntime/default.nix index 7863e596e1b..aff56994f49 100644 --- a/pkgs/development/libraries/libblocksruntime/default.nix +++ b/pkgs/development/libraries/libblocksruntime/default.nix @@ -24,4 +24,10 @@ stdenv.mkDerivation { doCheck = false; # hasdescriptor.c test fails, hrm. installPhase = ''prefix="/" DESTDIR=$out ./installlib''; + + meta = with stdenv.lib; { + description = "Installs the BlocksRuntime library from the compiler-rt"; + homepage = "https://github.com/mackyle/blocksruntime"; + license = licenses.mit; + }; } From 59275c790e0e29a861369090c7c72a403a8cd6f7 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 11:38:21 +0200 Subject: [PATCH 13/17] nuspell: add license --- pkgs/development/libraries/nuspell/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/nuspell/default.nix b/pkgs/development/libraries/nuspell/default.nix index 57c47c79f84..38f3a1134ee 100644 --- a/pkgs/development/libraries/nuspell/default.nix +++ b/pkgs/development/libraries/nuspell/default.nix @@ -31,5 +31,6 @@ stdenv.mkDerivation rec { description = "Free and open source C++ spell checking library"; homepage = "https://nuspell.github.io/"; maintainers = with maintainers; [ fpletz ]; + license = licenses.gpl3; }; } From e075f94f470a739eedb20cb0310ad48a77236050 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 11:44:37 +0200 Subject: [PATCH 14/17] pdf2xml: add description + license --- pkgs/development/libraries/pdf2xml/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/pdf2xml/default.nix b/pkgs/development/libraries/pdf2xml/default.nix index 08d57cda6c1..855df954eb1 100644 --- a/pkgs/development/libraries/pdf2xml/default.nix +++ b/pkgs/development/libraries/pdf2xml/default.nix @@ -32,7 +32,9 @@ stdenv.mkDerivation { cp exe/* $out/bin ''; - meta = { - platforms = stdenv.lib.platforms.unix; + meta = with stdenv.lib; { + description = "PDF to XML converter"; + platforms = platforms.unix; + license = licenses.gpl2; }; } From ffa20303385c6a47ae3539c2824c2577c4023e9b Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 11:46:13 +0200 Subject: [PATCH 15/17] servialdv: add license --- pkgs/development/libraries/serialdv/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/serialdv/default.nix b/pkgs/development/libraries/serialdv/default.nix index 178cee5e69a..d711cd9fc80 100644 --- a/pkgs/development/libraries/serialdv/default.nix +++ b/pkgs/development/libraries/serialdv/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/f4exb/serialdv"; platforms = platforms.linux; maintainers = with maintainers; [ alkeryn ]; + license = licenses.gpl3; }; } From 9143be487b485420ea9722a3cede4da472188e0c Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 11:53:54 +0200 Subject: [PATCH 16/17] lib/licenses: add SPDX LLVM-exception --- lib/licenses.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/licenses.nix b/lib/licenses.nix index b799a6ae8a4..641184af639 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -482,6 +482,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) { url = "https://opensource.franz.com/preamble.html"; }; + llvm-exception = spdx { + spdxId = "LLVM-exception"; + fullName = "LLVM Exception"; # LLVM exceptions to the Apache 2.0 License + }; + lppl12 = spdx { spdxId = "LPPL-1.2"; fullName = "LaTeX Project Public License v1.2"; From 5c220d8784fc0af34dbbc7fff3aa028182e289fa Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 27 Jun 2020 11:54:24 +0200 Subject: [PATCH 17/17] wasilibc: add license --- pkgs/development/libraries/wasilibc/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/wasilibc/default.nix b/pkgs/development/libraries/wasilibc/default.nix index fb8c0e0fa21..bca025d622a 100644 --- a/pkgs/development/libraries/wasilibc/default.nix +++ b/pkgs/development/libraries/wasilibc/default.nix @@ -20,10 +20,11 @@ stdenv.mkDerivation { ln -s $out/share/wasm32-wasi/undefined-symbols.txt $out/lib/wasi.imports ''; - meta = { + meta = with stdenv.lib; { description = "WASI libc implementation for WebAssembly"; homepage = "https://wasi.dev"; - platforms = lib.platforms.wasi; - maintainers = [ lib.maintainers.matthewbauer ]; + platforms = platforms.wasi; + maintainers = [ maintainers.matthewbauer ]; + license = with licenses; [ asl20 mit llvm-exception ]; }; }