Merge pull request #50371 from markuskowa/licenses-28
Add licenses
commit06061b7188e6beafb9651dabdda316d19b9419a5
authorRenaud <c0bw3b@users.noreply.github.com>
dateThu 15 Nov 2018, 09:50 (8 years ago)
parentcd97805142717e
pkgs/servers/samba/3.x.nix+3−2
@@ -87,10 +87,11 @@ stdenv.mkDerivation rec {
8787 '' # */
8888 + stdenv.lib.optionalString (configDir == "") "touch $out/lib/smb.conf";
8989
90− meta = {
90+ meta = with stdenv.lib; {
9191 homepage = https://www.samba.org/;
9292 description = "The standard Windows interoperability suite of programs for Linux and Unix";
93− platforms = stdenv.lib.platforms.linux;
93+ platforms = platforms.linux;
94+ license = licenses.gpl3;
9495 knownVulnerabilities = [
9596 "Numerous CVEs and no patches from upstream for 3.x since 2014."
9697 ];
pkgs/servers/sql/mysql/5.5.x.nix+7−2
@@ -69,9 +69,14 @@ self = stdenv.mkDerivation rec {
6969 mysqlVersion = "5.5";
7070 };
7171
72− meta = {
72+ meta = with stdenv.lib; {
7373 homepage = https://www.mysql.com/;
7474 description = "The world's most popular open source database";
75− platforms = stdenv.lib.platforms.unix;
75+ platforms = platforms.unix;
76+ # See https://downloads.mysql.com/docs/licenses/mysqld-5.5-gpl-en.pdf
77+ license = with licenses; [
78+ artistic1 bsd0 bsd2 bsd3 bsdOriginal
79+ gpl2 lgpl2 lgpl21 mit publicDomain licenses.zlib
80+ ];
7681 };
7782}; in self
pkgs/servers/sql/mysql/5.7.x.nix+6−2
@@ -75,9 +75,13 @@ self = stdenv.mkDerivation rec {
7575 mysqlVersion = "5.7";
7676 };
7777
78− meta = {
78+ meta = with stdenv.lib; {
7979 homepage = https://www.mysql.com/;
8080 description = "The world's most popular open source database";
81− platforms = stdenv.lib.platforms.unix;
81+ platforms = platforms.unix;
82+ license = with licenses; [
83+ artistic1 bsd0 bsd2 bsd3 bsdOriginal
84+ gpl2 lgpl2 lgpl21 mit publicDomain licenses.zlib
85+ ];
8286 };
8387}; in self
pkgs/servers/sql/postgresql/pgtap/default.nix+1
@@ -28,5 +28,6 @@ stdenv.mkDerivation rec {
2828 maintainers = with maintainers; [ willibutz ];
2929 homepage = https://pgtap.org;
3030 inherit (postgresql.meta) platforms;
31+ license = licenses.mit;
3132 };
3233}
pkgs/servers/sql/virtuoso/6.x.nix+1−1
@@ -40,6 +40,6 @@ stdenv.mkDerivation rec {
4040 description = "SQL/RDF database used by, e.g., KDE-nepomuk";
4141 homepage = http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/;
4242 platforms = platforms.linux;
43− maintainers = [ ];
43+ license = licenses.gpl2;
4444 };
4545}
pkgs/servers/sql/virtuoso/7.x.nix+1−1
@@ -31,6 +31,6 @@ stdenv.mkDerivation rec {
3131 homepage = http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/;
3232 #configure: The current version [...] can only be built on 64bit platforms
3333 platforms = [ "x86_64-linux" ];
34− maintainers = [ ];
34+ license = licenses.gpl2;
3535 };
3636}
pkgs/servers/xmpp/pyIRCt/default.nix+3−2
@@ -34,8 +34,9 @@ stdenv.mkDerivation rec {
3434 wrapPythonPrograms
3535 '';
3636
37− meta = {
37+ meta = with stdenv.lib; {
3838 description = "IRC transport module for XMPP";
39− platforms = stdenv.lib.platforms.unix;
39+ platforms = platforms.unix;
40+ license = licenses.gpl2;
4041 };
4142}
pkgs/servers/xmpp/pyMAILt/default.nix+3−2
@@ -32,8 +32,9 @@ stdenv.mkDerivation rec {
3232 wrapPythonPrograms
3333 '';
3434
35− meta = {
35+ meta = with stdenv.lib; {
3636 description = "Email transport module for XMPP";
37− platforms = stdenv.lib.platforms.unix;
37+ platforms = platforms.unix;
38+ license = licenses.gpl2;
3839 };
3940}
pkgs/shells/dash/default.nix+3−2
@@ -10,10 +10,11 @@ stdenv.mkDerivation rec {
1010
1111 hardeningDisable = [ "format" ];
1212
13− meta = {
13+ meta = with stdenv.lib; {
1414 homepage = http://gondor.apana.org.au/~herbert/dash/;
1515 description = "A POSIX-compliant implementation of /bin/sh that aims to be as small as possible";
16− platforms = stdenv.lib.platforms.unix;
16+ platforms = platforms.unix;
17+ license = with licenses; [ bsd3 gpl2 ];
1718 };
1819
1920 passthru = {
pkgs/tools/bluetooth/obex-data-server/default.nix+3−2
@@ -18,8 +18,9 @@ stdenv.mkDerivation rec {
1818 export PKG_CONFIG_PATH="${dbus.dev}/lib/pkgconfig:$PKG_CONFIG_PATH"
1919 '';
2020
21− meta = {
21+ meta = with stdenv.lib; {
2222 homepage = http://wiki.muiline.com/obex-data-server;
23− platforms = stdenv.lib.platforms.linux;
23+ platforms = platforms.linux;
24+ license = licenses.gpl2;
2425 };
2526}
pkgs/tools/bluetooth/obexd/default.nix+5−4
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, pkgconfig, glib, dbus, openobex, bluez, libical }:
2−
2+
33stdenv.mkDerivation rec {
44 name = "obexd-0.48";
5−
5+
66 src = fetchurl {
77 url = "mirror://kernel/linux/bluetooth/${name}.tar.bz2";
88 sha256 = "1i20dnibvnq9lnkkhajr5xx3kxlwf9q5c4jm19kyb0q1klzgzlb8";
@@ -12,8 +12,9 @@ stdenv.mkDerivation rec {
1212
1313 nativeBuildInputs = [ pkgconfig ];
1414
15− meta = {
15+ meta = with stdenv.lib; {
1616 homepage = http://www.bluez.org/;
17− platforms = stdenv.lib.platforms.linux;
17+ platforms = platforms.linux;
18+ license = licenses.gpl3;
1819 };
1920}
pkgs/tools/typesetting/tex/lkproof/default.nix+5−4
@@ -2,12 +2,12 @@
22
33stdenv.mkDerivation {
44 name = "lkproof-3.1";
5−
5+
66 src = fetchurl {
77 url = http://mirror.ctan.org/macros/latex/contrib/lkproof.zip;
88 sha256 = "1qjkjhpc4rm62qxn18r83zdlwnj1wvnkcpdiqlv7w4bakh0gvjly";
99 };
10−
10+
1111 buildInputs = [ unzip ];
1212
1313 installPhase = "
@@ -15,7 +15,8 @@ stdenv.mkDerivation {
1515 cp -prd *.sty $out/share/texmf-nix/tex/generic/lkproof
1616 ";
1717
18− meta = {
19− platforms = stdenv.lib.platforms.unix;
18+ meta = with stdenv.lib; {
19+ platforms = platforms.unix;
20+ license = licenses.gpl1Plus;
2021 };
2122}
pkgs/tools/typesetting/tex/pgf/1.x.nix+3−2
@@ -15,8 +15,9 @@ stdenv.mkDerivation {
1515 cp -prd * $out/share/texmf-nix
1616 ";
1717
18− meta = {
18+ meta = with stdenv.lib; {
1919 branch = "1";
20− platforms = stdenv.lib.platforms.unix;
20+ platforms = platforms.unix;
21+ license = licenses.gpl2;
2122 };
2223}
pkgs/tools/typesetting/tex/pgf/2.x.nix+3−2
@@ -15,8 +15,9 @@ stdenv.mkDerivation {
1515 cp -prd * $out/share/texmf-nix
1616 ";
1717
18− meta = {
18+ meta = with stdenv.lib; {
1919 branch = "2";
20− platforms = stdenv.lib.platforms.unix;
20+ platforms = platforms.unix;
21+ license = licenses.gpl2;
2122 };
2223}
pkgs/tools/typesetting/tex/pgf/3.x.nix+3−2
@@ -24,8 +24,9 @@ stdenv.mkDerivation {
2424 cp -prd * $out/share/texmf-nix
2525 ";
2626
27− meta = {
27+ meta = with stdenv.lib; {
2828 branch = "3";
29− platforms = stdenv.lib.platforms.unix;
29+ platforms = platforms.unix;
30+ license = licenses.gpl2;
3031 };
3132}
pkgs/tools/typesetting/tex/pgfplots/default.nix+5−2
@@ -19,7 +19,10 @@ stdenv.mkDerivation {
1919 cp -prd * $out/share/texmf-nix
2020 ";
2121
22− meta = {
23− platforms = stdenv.lib.platforms.unix;
22+ meta = with stdenv.lib; {
23+ description = "TeX package to draw plots directly in TeX in two and three dimensions";
24+ homepage = http://pgfplots.sourceforge.net;
25+ platforms = platforms.unix;
26+ license = licenses.gpl3Plus;
2427 };
2528}