From 95b7e987fb3f212c7ea229dedabafd80d35df78f Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 19:22:10 +0200 Subject: [PATCH 01/18] gdata-sharp: add license --- pkgs/development/libraries/gdata-sharp/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/gdata-sharp/default.nix b/pkgs/development/libraries/gdata-sharp/default.nix index 40e9b0ed90d5..a9b79dac7b88 100644 --- a/pkgs/development/libraries/gdata-sharp/default.nix +++ b/pkgs/development/libraries/gdata-sharp/default.nix @@ -34,6 +34,8 @@ in stdenv.mkDerivation rec { The Google Data APIs provide a simple protocol for reading and writing data on the web. ''; + + license = licenses.asl20; platforms = platforms.linux; }; } From f3f05c9b6ade6c4120c92398a6bc3dec53537da3 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 19:27:49 +0200 Subject: [PATCH 02/18] gdcm: add license --- pkgs/development/libraries/gdcm/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gdcm/default.nix b/pkgs/development/libraries/gdcm/default.nix index a4eab462046c..cba31f45d557 100644 --- a/pkgs/development/libraries/gdcm/default.nix +++ b/pkgs/development/libraries/gdcm/default.nix @@ -26,14 +26,15 @@ stdenv.mkDerivation rec { buildInputs = [ cmake vtk ]; propagatedBuildInputs = [ ]; - meta = { + meta = with stdenv.lib; { description = "The grassroots cross-platform DICOM implementation"; longDescription = '' Grassroots DICOM (GDCM) is an implementation of the DICOM standard designed to be open source so that researchers may access clinical data directly. GDCM includes a file format definition and a network communications protocol, both of which should be extended to provide a full set of tools for a researcher or small medical imaging vendor to interface with an existing medical database. ''; homepage = http://gdcm.sourceforge.net/; - platforms = stdenv.lib.platforms.all; + license = with licenses; [ bsd3 asl20 ]; + platforms = platforms.all; }; } From 98c7cf76a64690c4d27c20b7b865fa6017fcb9de Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 19:32:10 +0200 Subject: [PATCH 03/18] gdk_pixbuf: add license --- pkgs/development/libraries/gdk-pixbuf/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/gdk-pixbuf/default.nix b/pkgs/development/libraries/gdk-pixbuf/default.nix index 94536f8f5b69..3fb50e98c1c8 100644 --- a/pkgs/development/libraries/gdk-pixbuf/default.nix +++ b/pkgs/development/libraries/gdk-pixbuf/default.nix @@ -116,6 +116,7 @@ stdenv.mkDerivation rec { description = "A library for image loading and manipulation"; homepage = http://library.gnome.org/devel/gdk-pixbuf/; maintainers = [ maintainers.eelco ]; + license = licenses.lgpl21; platforms = platforms.unix; }; } From 24513e08d7e773b1b81b7baed9e70e371f888666 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 19:35:29 +0200 Subject: [PATCH 04/18] geany: fix license geany-with-vte: inherit meta data from geany --- pkgs/applications/editors/geany/default.nix | 2 +- pkgs/applications/editors/geany/with-vte.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/geany/default.nix b/pkgs/applications/editors/geany/default.nix index ed77e6f4b471..24954a602ccc 100644 --- a/pkgs/applications/editors/geany/default.nix +++ b/pkgs/applications/editors/geany/default.nix @@ -45,7 +45,7 @@ stdenv.mkDerivation rec { - Plugin interface ''; homepage = https://www.geany.org/; - license = "GPL"; + license = licenses.gpl2; maintainers = []; platforms = platforms.all; }; diff --git a/pkgs/applications/editors/geany/with-vte.nix b/pkgs/applications/editors/geany/with-vte.nix index 7689ebad0f01..ac35560c7f63 100644 --- a/pkgs/applications/editors/geany/with-vte.nix +++ b/pkgs/applications/editors/geany/with-vte.nix @@ -1,7 +1,7 @@ { runCommand, makeWrapper, geany, gnome2 }: let name = builtins.replaceStrings ["geany-"] ["geany-with-vte-"] geany.name; in -runCommand "${name}" { nativeBuildInputs = [ makeWrapper ]; } " +runCommand "${name}" { nativeBuildInputs = [ makeWrapper ]; inherit (geany.meta); } " mkdir -p $out ln -s ${geany}/share $out makeWrapper ${geany}/bin/geany $out/bin/geany --prefix LD_LIBRARY_PATH : ${gnome2.vte}/lib From a0f6e0552d6433d33ce0a655610b3266e4126749 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 19:39:08 +0200 Subject: [PATCH 05/18] gens-gs: add license --- pkgs/misc/emulators/gens-gs/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/misc/emulators/gens-gs/default.nix b/pkgs/misc/emulators/gens-gs/default.nix index f5ba2ef218d1..c8f1af34fa92 100644 --- a/pkgs/misc/emulators/gens-gs/default.nix +++ b/pkgs/misc/emulators/gens-gs/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, pkgconfig, gtk2, SDL, nasm, zlib, libpng, libGLU_combined }: -stdenv.mkDerivation { +stdenv.mkDerivation { name = "gens-gs-7"; src = fetchurl { @@ -15,10 +15,11 @@ stdenv.mkDerivation { # See http://ubuntuforums.org/showthread.php?p=10535837 NIX_CFLAGS_COMPILE = "-UGTK_DISABLE_DEPRECATED -UGSEAL_ENABLE"; - meta = { + meta = with stdenv.lib; { homepage = https://segaretro.org/Gens/GS; description = "A Genesis/Mega Drive emulator"; platforms = [ "i686-linux" ]; - maintainers = [ stdenv.lib.maintainers.eelco ]; + license = licenses.gpl2Plus; + maintainers = [ maintainers.eelco ]; }; } From dbc97ef68caa475dcb5bdd29102a4c663accc9bc Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 19:50:39 +0200 Subject: [PATCH 06/18] gettext: add license --- pkgs/development/libraries/gettext/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/gettext/default.nix b/pkgs/development/libraries/gettext/default.nix index 07db27dcc791..469dcbf75bbe 100644 --- a/pkgs/development/libraries/gettext/default.nix +++ b/pkgs/development/libraries/gettext/default.nix @@ -52,7 +52,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - meta = { + meta = with lib; { description = "Well integrated set of translation tools and documentation"; longDescription = '' @@ -76,8 +76,9 @@ stdenv.mkDerivation rec { homepage = http://www.gnu.org/software/gettext/; - maintainers = with lib.maintainers; [ zimbatm vrthra ]; - platforms = lib.platforms.all; + maintainers = with maintainers; [ zimbatm vrthra ]; + license = licenses.gpl2Plus; + platforms = platforms.all; }; } From 1bf19218d7234a598290189fc0028339d398b63a Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 19:57:41 +0200 Subject: [PATCH 07/18] giflib-4.1: add license + description --- pkgs/development/libraries/giflib/4.1.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/giflib/4.1.nix b/pkgs/development/libraries/giflib/4.1.nix index c70bda034871..941a7c27feaf 100644 --- a/pkgs/development/libraries/giflib/4.1.nix +++ b/pkgs/development/libraries/giflib/4.1.nix @@ -10,9 +10,11 @@ stdenv.mkDerivation { hardeningDisable = [ "format" ]; - meta = { + meta = with stdenv.lib; { + description = "A library for reading and writing gif images"; branch = "4.1"; - platforms = stdenv.lib.platforms.unix; + license = licenses.mit; + platforms = platforms.unix; }; } From 3c1819fcce25555a55cb0dd3018445642b5c4506 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 20:02:23 +0200 Subject: [PATCH 08/18] ginac: add license --- pkgs/applications/science/math/ginac/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/science/math/ginac/default.nix b/pkgs/applications/science/math/ginac/default.nix index 18b13e11d350..18a5281bebb0 100644 --- a/pkgs/applications/science/math/ginac/default.nix +++ b/pkgs/applications/science/math/ginac/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { description = "GiNaC is Not a CAS"; homepage = http://www.ginac.de/; maintainers = with maintainers; [ lovek323 ]; + license = licenses.gpl2; platforms = platforms.all; }; } From 002ae44fa1ef54363a1f16974117dc7f87136549 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 20:04:06 +0200 Subject: [PATCH 09/18] gio-sharp: add license + homepage --- pkgs/development/libraries/gio-sharp/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/gio-sharp/default.nix b/pkgs/development/libraries/gio-sharp/default.nix index 804da49fda93..b0a115eb4a51 100644 --- a/pkgs/development/libraries/gio-sharp/default.nix +++ b/pkgs/development/libraries/gio-sharp/default.nix @@ -23,6 +23,8 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "GIO API bindings"; + homepage = https://github.com/mono/gio-sharp; + license = licenses.mit; platforms = platforms.linux; }; } From 8acffe39b7d1a268616f2f637214c6025baa8355 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 20:08:12 +0200 Subject: [PATCH 10/18] gitlab: add meta data --- pkgs/applications/version-management/gitlab/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/version-management/gitlab/default.nix b/pkgs/applications/version-management/gitlab/default.nix index 71c62b758682..90d16d846608 100644 --- a/pkgs/applications/version-management/gitlab/default.nix +++ b/pkgs/applications/version-management/gitlab/default.nix @@ -104,4 +104,10 @@ stdenv.mkDerivation rec { inherit rubyEnv; ruby = rubyEnv.wrappedRuby; }; + + meta = with stdenv.lib; { + description = "Web-based Git-repository manager"; + homepage = https://gitlab.com; + license = licenses.mit; + }; } From 39d7a557d43ef625e4bccc7826e4062e48c03eb3 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 20:11:06 +0200 Subject: [PATCH 11/18] gl117: add license + homepage --- pkgs/games/gl-117/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/games/gl-117/default.nix b/pkgs/games/gl-117/default.nix index f654dfc1573f..b9694811fa51 100644 --- a/pkgs/games/gl-117/default.nix +++ b/pkgs/games/gl-117/default.nix @@ -13,12 +13,11 @@ stdenv.mkDerivation rec { buildInputs = [ libGLU_combined SDL freeglut SDL_mixer autoconf automake libtool ]; - meta = { + meta = with stdenv.lib; { description = "An air combat simulator"; - maintainers = with stdenv.lib.maintainers; - [ - raskin - ]; - platforms = stdenv.lib.platforms.linux; + homepage = https://sourceforge.net/projects/gl-117; + maintainers = with maintainers; [ raskin ]; + license = licenses.gpl2; + platforms = platforms.linux; }; } From 859ea1da4ebbeb91ef40a4bdce3f02aa5e0e6ba8 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 20:12:38 +0200 Subject: [PATCH 12/18] glock: add license --- pkgs/development/tools/glock/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/tools/glock/default.nix b/pkgs/development/tools/glock/default.nix index 98813f143cbb..35f7a2bfdea1 100644 --- a/pkgs/development/tools/glock/default.nix +++ b/pkgs/development/tools/glock/default.nix @@ -19,6 +19,7 @@ buildGoPackage rec { meta = with stdenv.lib; { homepage = https://github.com/robfig/glock; description = "A command-line tool to lock Go dependencies to specific revisions"; + license = licenses.mit; maintainers = [ maintainers.rushmorem ]; }; } From a1129ef9cb1f528cb0730e6246880b6c113c781a Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 20:16:00 +0200 Subject: [PATCH 13/18] glsurf: add license --- pkgs/applications/science/math/glsurf/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/science/math/glsurf/default.nix b/pkgs/applications/science/math/glsurf/default.nix index a53829347053..4de683cdce90 100644 --- a/pkgs/applications/science/math/glsurf/default.nix +++ b/pkgs/applications/science/math/glsurf/default.nix @@ -26,5 +26,6 @@ stdenv.mkDerivation { meta = { homepage = http://www.lama.univ-savoie.fr/~raffalli/glsurf; description = "A program to draw implicit surfaces and curves"; + license = stdenv.lib.licenses.lgpl21; }; } From 06aabd8ef2b2f913615d9f5165e75e04b0d609d9 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 20:24:02 +0200 Subject: [PATCH 14/18] glusterfs: add license + homepage --- pkgs/tools/filesystems/glusterfs/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/filesystems/glusterfs/default.nix b/pkgs/tools/filesystems/glusterfs/default.nix index 416dde364c6a..f4aa9a52fce3 100644 --- a/pkgs/tools/filesystems/glusterfs/default.nix +++ b/pkgs/tools/filesystems/glusterfs/default.nix @@ -181,13 +181,12 @@ rec { inherit (s) url sha256; }; - meta = { + meta = with stdenv.lib; { inherit (s) version; description = "Distributed storage system"; - maintainers = [ - stdenv.lib.maintainers.raskin - ]; - platforms = with stdenv.lib.platforms; - linux ++ freebsd; + homepage = https://www.gluster.org; + license = licenses.lgpl3Plus; # dual licese: choice of lgpl3Plus or gpl2 + maintainers = [ maintainers.raskin ]; + platforms = with platforms; linux ++ freebsd; }; } From c0037624473afbf3623071b97a8d4edea2df403e Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 20:28:40 +0200 Subject: [PATCH 15/18] gnet: add license --- pkgs/development/libraries/gnet/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/gnet/default.nix b/pkgs/development/libraries/gnet/default.nix index c9431420194a..0b2fb9fef6c3 100644 --- a/pkgs/development/libraries/gnet/default.nix +++ b/pkgs/development/libraries/gnet/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation { meta = with stdenv.lib; { description = "A network library, written in C, object-oriented, and built upon GLib"; homepage = https://developer.gnome.org/gnet/; + license = licenses.lgpl2; platforms = platforms.linux; maintainers = with maintainers; [ pSub ]; }; From 2d31bede61b76cd556dd19892c1224d16721a190 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 20:37:04 +0200 Subject: [PATCH 16/18] gnuplot: add license --- pkgs/tools/graphics/gnuplot/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/tools/graphics/gnuplot/default.nix b/pkgs/tools/graphics/gnuplot/default.nix index d50adaa387fa..f2be9fafc605 100644 --- a/pkgs/tools/graphics/gnuplot/default.nix +++ b/pkgs/tools/graphics/gnuplot/default.nix @@ -61,6 +61,15 @@ stdenv.mkDerivation rec { homepage = http://www.gnuplot.info/; description = "A portable command-line driven graphing utility for many platforms"; platforms = platforms.linux ++ platforms.darwin; + license = { + # Essentially a BSD license with one modifaction: + # Permission to modify the software is granted, but not the right to + # distribute the complete modified source code. Modifications are to + # be distributed as patches to the released version. Permission to + # distribute binaries produced by compiling modified sources is granted, + # provided you: ... + url = https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/Copyright; + }; maintainers = with maintainers; [ lovek323 ]; }; } From dc379a4b8ef26f7e4bb1a00874ec98bece772472 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 20:43:43 +0200 Subject: [PATCH 17/18] gnupth: add license --- pkgs/development/libraries/pth/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/pth/default.nix b/pkgs/development/libraries/pth/default.nix index 6118d9c41d6f..90dc647233d8 100644 --- a/pkgs/development/libraries/pth/default.nix +++ b/pkgs/development/libraries/pth/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { name = "pth-2.0.7"; - + src = fetchurl { url = "mirror://gnu/pth/${name}.tar.gz"; sha256 = "0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj"; @@ -12,9 +12,10 @@ stdenv.mkDerivation rec { configureFlagsArray=("CFLAGS=-DJB_SP=8 -DJB_PC=9") ''; - meta = { + meta = with stdenv.lib; { description = "The GNU Portable Threads library"; homepage = http://www.gnu.org/software/pth; - platforms = stdenv.lib.platforms.all; + license = licenses.lgpl21Plus; + platforms = platforms.all; }; } From 27c74747f7e24c3be1154495cb75b6790ebe19f2 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 20 Aug 2018 20:45:34 +0200 Subject: [PATCH 18/18] gnuvd: add license --- pkgs/tools/misc/gnuvd/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/gnuvd/default.nix b/pkgs/tools/misc/gnuvd/default.nix index 9f489fee7ec6..9369c31fdeb5 100644 --- a/pkgs/tools/misc/gnuvd/default.nix +++ b/pkgs/tools/misc/gnuvd/default.nix @@ -8,9 +8,10 @@ stdenv.mkDerivation { sha256 = "0mpy76a0pxy62zjiihlzmvl4752hiwxhfs8rm1v5zgdr78acxyxz"; }; - meta = { + meta = with stdenv.lib; { description = "Command-line dutch dictionary application"; homepage = http://www.djcbsoftware.nl/code/gnuvd/; - platforms = stdenv.lib.platforms.unix; + license = licenses.gpl2; + platforms = platforms.unix; }; }