Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix licenses #91661

Merged
merged 17 commits into from
Jun 27, 2020
5 changes: 5 additions & 0 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
11 changes: 6 additions & 5 deletions pkgs/applications/misc/xpdf/libxpdf.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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;
};
}
1 change: 1 addition & 0 deletions pkgs/applications/networking/browsers/kristall/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}
1 change: 1 addition & 0 deletions pkgs/applications/networking/browsers/links2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -336,5 +336,6 @@ stdenv.mkDerivation rec {
pierron
];
platforms = platforms.linux;
license = licenses.mpl20;
};
}
1 change: 1 addition & 0 deletions pkgs/applications/science/math/qalculate-gtk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}
1 change: 1 addition & 0 deletions pkgs/applications/science/misc/root/5.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,6 @@ stdenv.mkDerivation rec {
description = "A data analysis framework";
platforms = platforms.unix;
maintainers = with maintainers; [ veprbl ];
license = licenses.lgpl21;
};
}
1 change: 1 addition & 0 deletions pkgs/data/misc/cacert/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}
1 change: 1 addition & 0 deletions pkgs/development/libraries/cgui/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ stdenv.mkDerivation rec {
description = "A multiplatform basic GUI library";
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
license = licenses.free;
};
}
1 change: 1 addition & 0 deletions pkgs/development/libraries/cm256cc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/f4exb/cm256cc";
platforms = platforms.linux;
maintainers = with maintainers; [ alkeryn ];
license = licenses.gpl3;
};
}
7 changes: 5 additions & 2 deletions pkgs/development/libraries/dclib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
};
}
1 change: 1 addition & 0 deletions pkgs/development/libraries/json-c/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions pkgs/development/libraries/libblocksruntime/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}
1 change: 1 addition & 0 deletions pkgs/development/libraries/nuspell/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}
6 changes: 4 additions & 2 deletions pkgs/development/libraries/pdf2xml/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}
1 change: 1 addition & 0 deletions pkgs/development/libraries/serialdv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/f4exb/serialdv";
platforms = platforms.linux;
maintainers = with maintainers; [ alkeryn ];
license = licenses.gpl3;
};
}

7 changes: 4 additions & 3 deletions pkgs/development/libraries/wasilibc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
};
}