Use common licence attributes from lib/licenses.nix

Many (less easily automatically converted) old-style strings
remain.

Where there was any possible ambiguity about the exact version or
variant intended, nothing was changed. IANAL, nor a search robot.

Use `with stdenv.lib` wherever it makes sense.
This commit is contained in:
Tobias Geerinckx-Rice 2015-05-27 21:56:04 +02:00
parent 87fd373aac
commit b2d7f4b1ba
73 changed files with 269 additions and 234 deletions

View File

@ -29,9 +29,9 @@ stdenv.mkDerivation {
./patch.patch # patches taken from gentoo
];
meta = {
meta = with stdenv.lib; {
description = "A music composition and modular synthesis application";
homepage = http://beast.gtk.org;
license = ["GPL-2" "LGPL-2.1"];
license = with licenses; [ gpl2 lgpl21 ];
};
}

View File

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "75e3b7853de4783b8ab8270dcbe6a1e4f576224f77f7463116532e11c6498c26";
};
buildInputs = [ emacs ];
meta = {
meta = with stdenv.lib; {
description = "A Jabber client for Emacs";
longDescription = ''
jabber.el is a Jabber client for Emacs. It may seem strange to have a
@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
a special case of text editing.
'';
homepage = http://emacs-jabber.sourceforge.net/;
license = [ "GPLv2+" ];
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = with stdenv.lib.platforms; linux;
license = with licenses; gpl2Plus;
maintainers = with maintainers; [ astsmtl ];
platforms = with platforms; linux;
};
}

View File

@ -1,4 +1,4 @@
{trivialBuild, fetchFromGitHub}:
{trivialBuild, lib, fetchFromGitHub}:
trivialBuild rec {
pname = "nyan-mode";
@ -23,9 +23,9 @@ trivialBuild rec {
cp -r mus $out
'';
meta = {
meta = with lib; {
description = "An analog indicator of the position in the buffer";
homepage = https://github.com/TeMPOraL/nyan-mode/;
license = "GPLv3+";
license = with licenses; gpl3Plus;
};
}

View File

@ -59,12 +59,12 @@ rec {
sed -e 's,^\(GIMP_PLUGIN_DIR=\).*,\1'"$out/${gimp.name}-plugins", \
-e 's,^\(GIMP_DATA_DIR=\).*,\1'"$out/share/${gimp.name}", -i configure
'';
meta = {
meta = with stdenv.lib; {
description = "The GIMP Animation Package";
homepage = http://www.gimp.org;
# The main code is given in GPLv3, but it has ffmpeg in it, and I think ffmpeg license
# falls inside "free".
license = [ "GPLv3" "free" ];
license = with licenses; [ gpl3 free ];
};
};

View File

@ -31,11 +31,11 @@ stdenv.mkDerivation rec {
ln -s $out/eaglemode.sh $out/bin/eaglemode.sh
'';
meta = {
meta = with stdenv.lib; {
homepage = "http://eaglemode.sourceforge.net";
description = "Zoomable User Interface";
license="GPLv3";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
license = with licenses; gpl3;
maintainers = with maintainers; [ viric ];
platforms = with platforms; linux;
};
}

View File

@ -19,7 +19,7 @@ stdenv.mkDerivation {
--add-flags "-app $out/libexec/conkeror/application.ini"
'';
meta = {
meta = with stdenv.lib; {
description = "A keyboard-oriented, customizable, extensible web browser";
longDescription = ''
Conkeror is a keyboard-oriented, highly-customizable, highly-extensible
@ -30,8 +30,8 @@ stdenv.mkDerivation {
self-documenting, featuring a powerful interactive help system.
'';
homepage = http://conkeror.org/;
license = [ "MPLv1.1" "GPLv2" "LGPLv2.1" ];
maintainers = with stdenv.lib.maintainers; [ astsmtl chaoflow ];
platforms = with stdenv.lib.platforms; linux;
license = with licenses; [ mpl11 gpl2 lgpl21 ];
maintainers = with maintainers; [ astsmtl chaoflow ];
platforms = with platforms; linux;
};
}

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
passthru.mozillaPlugin = "/lib/mozilla/plugins";
meta = {
meta = with stdenv.lib; {
description = "A browser plugin to manage Swedish BankID:s";
longDescription = ''
FriBID is an open source software for the Swedish e-id system
@ -30,8 +30,8 @@ stdenv.mkDerivation rec {
support.
'';
homepage = http://fribid.se;
license = [ "GPLv2" "MPLv1" ];
maintainers = [ stdenv.lib.maintainers.edwtjo ];
platforms = with stdenv.lib.platforms; linux;
license = with licenses; [ gpl2 mpl10 ];
maintainers = [ maintainers.edwtjo ];
platforms = with platforms; linux;
};
}

View File

@ -28,9 +28,9 @@ stdenv.mkDerivation rec {
mozillaPlugin = "/lib/mozilla/plugins";
};
meta = {
meta = with stdenv.lib; {
description = "A browser plugin that uses mplayer to play digital media from websites";
homepage = http://mplayerplug-in.sourceforge.net/;
license = [ "GPLv2+" "LGPLv2+" "MPLv1+" ];
license = with licenses; [ gpl2Plus lgpl2Plus "MPLv1+" ];
};
}

View File

@ -23,12 +23,15 @@ stdenv.mkDerivation {
buildPhase = "make PREFIX=$out";
installPhase = "make PREFIX=$out install";
meta = {
meta = with args.lib; {
description = "free, open source web browser";
homepage = http://www.netsurf-browser.org;
license = ["GPLv2" /* visual worrk : */ "MIT" ];
maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
license = with licenses; [
gpl2
mit /* visual work */
];
maintainers = with maintainers; [ marcweber ];
platforms = platforms.linux;
};
}

View File

@ -12,11 +12,11 @@ stdenv.mkDerivation {
configureFlags = [ "--enable-x" "--with-x" "--with-readline" ];
meta = {
meta = with stdenv.lib; {
description = "The Next Generation Spice (Electronic Circuit Simulator)";
homepage = "http://ngspice.sourceforge.net";
license = ["BSD" "GPLv2"];
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
license = with licenses; [ "BSD" gpl2 ];
maintainers = with maintainers; [ viric ];
platforms = with platforms; linux;
};
}

View File

@ -16,12 +16,12 @@ stdenv.mkDerivation rec {
"--with-gmp=${gmp} " +
"--with-readline=${readline}";
meta = {
meta = with stdenv.lib; {
description = "Computer algebra system for high-performance number theory computations";
homepage = "http://pari.math.u-bordeaux.fr/";
license = "GPLv2+";
maintainers = with stdenv.lib.maintainers; [ertes raskin];
platforms = stdenv.lib.platforms.linux;
license = with licenses; gpl2Plus;
maintainers = with maintainers; [ ertes raskin ];
platforms = platforms.linux;
inherit version;
downloadPage = "http://pari.math.u-bordeaux.fr/download.html";

View File

@ -23,9 +23,9 @@ stdenv.mkDerivation rec {
buildFlags = "VERBOSE=1";
meta = {
meta = with stdenv.lib; {
homepage = "http://speedcrunch.digitalfanatics.org";
license = "GPLv2+";
license = with licenses; gpl2Plus;
description = "A fast power user calculator";
longDescription = ''
SpeedCrunch is a fast, high precision and powerful desktop calculator.

View File

@ -19,9 +19,9 @@ stdenv.mkDerivation {
${if singlePrec then "-DGMX_DOUBLE=OFF" else "-DGMX_DOUBLE=ON -DGMX_DEFAULT_SUFFIX=OFF"}
'';
meta = {
meta = with stdenv.lib; {
homepage = "http://www.gromacs.org";
license = "GPLv2";
license = with licenses; gpl2;
description = "Molecular dynamics software package";
longDescription = ''
GROMACS is a versatile package to perform molecular dynamics,

View File

@ -18,9 +18,9 @@ stdenv.mkDerivation rec{
./dvdauthor-imagemagick-0.7.0.patch
];
meta = {
meta = with stdenv.lib; {
description = "Tools for generating DVD files to be played on standalone DVD players";
homepage = http://dvdauthor.sourceforge.net/;
license = ["GPLv2"];
license = with licenses; gpl2;
};
}

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Highly configurable, dynamic window manager for X";
homepage = http://awesome.naquadah.org/;
license = "GPLv2+";
license = with licenses; gpl2Plus;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.linux;
};

View File

@ -18,11 +18,11 @@ stdenv.mkDerivation rec {
export makeFlags="PREFIX=$out"
'';
meta = {
meta = with stdenv.lib; {
homepage = http://tools.suckless.org/tabbed;
description = "Simple generic tabbed fronted to xembed aware applications";
license="MIT";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
license = with licenses; mit;
maintainers = with maintainers; [ viric ];
platforms = with platforms; linux;
};
}

View File

@ -22,11 +22,11 @@ stdenv.mkDerivation rec {
buildInputs = [ ncurses pkgconfig glib libviper libpseudo gpm libvterm ];
meta = {
meta = with stdenv.lib; {
homepage = http://vwm.sourceforge.net/;
description = "Dynamic window manager for the console";
license="GPLv2+";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
license = with licenses; gpl2Plus;
maintainers = with maintainers; [ viric ];
platforms = with platforms; linux;
};
}

View File

@ -30,6 +30,6 @@ args: with args; stdenv.mkDerivation {
";
meta = { homepage = "www.suckless.org";
description = "a really cool window manager which can by driven by keyboard only";
license="MIT";
license = stdenv.lib.licenses.mit;
};
}

View File

@ -30,6 +30,6 @@ args: with args; stdenv.mkDerivation {
";
meta = { homepage = "www.suckless.org";
description = "One small tool of the wmii window manger to let the user select an item from a list by filtering";
license="MIT";
license = stdenv.lib.licenses.mit;
};
}

View File

@ -27,7 +27,7 @@ stdenv.mkDerivation {
longDescription = ''
Pre-patched and adjusted fonts for usage with the Powerline plugin.
'';
license = "asl20 free ofl";
license = with licenses; [ asl20 free ofl ];
platforms = platforms.all;
maintainer = with maintainers; [ malyn ];
};

View File

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
make install fontdir
'';
meta = {
meta = with stdenv.lib; {
description = "A clean fixed width font";
longDescription = ''
Terminus Font is designed for long (8 and more hours per day) work
@ -37,8 +37,8 @@ stdenv.mkDerivation rec {
EGA/VGA-bold for 8x14 and 8x16.
'';
homepage = http://www.is-vn.bg/hamster/;
license = [ "GPLv2+" ];
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = with stdenv.lib.platforms; linux;
license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ astsmtl ];
platforms = with platforms; linux;
};
}

View File

@ -32,11 +32,11 @@ stdenv.mkDerivation {
dontStrip = true;
meta = {
meta = with stdenv.lib; {
description = "Programming language targeting JavaScript, Flash, NekoVM, PHP, C++";
homepage = http://haxe.org;
license = ["GPLv2" "BSD2" /*?*/ ]; # -> docs/license.txt
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
license = with licenses; [ gpl2 bsd2 /*?*/ ]; # -> docs/license.txt
maintainers = [ maintainers.marcweber ];
platforms = platforms.linux;
};
}

View File

@ -41,9 +41,12 @@ stdenv.mkDerivation rec {
ln -sv $out/lib/ocaml/caml $out/include/caml
'';
meta = {
meta = with stdenv.lib; {
homepage = http://caml.inria.fr/ocaml;
license = [ "QPL" /* compiler */ "LGPLv2" /* library */ ];
license = with licenses; [
qpl /* compiler */
lgpl2 /* library */
];
description = "Most popular variant of the Caml language";
longDescription =
@ -65,7 +68,7 @@ stdenv.mkDerivation rec {
documentation generator (ocamldoc).
'';
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
platforms = with platforms; linux ++ darwin;
};
}

View File

@ -34,10 +34,13 @@ stdenv.mkDerivation rec {
nativeCompilers = useNativeCompilers;
};
meta = {
meta = with stdenv.lib; {
homepage = http://caml.inria.fr/ocaml;
branch = "3.12";
license = [ "QPL" /* compiler */ "LGPLv2" /* library */ ];
license = with licenses; [
qpl /* compiler */
lgpl2 /* library */
];
description = "Most popular variant of the Caml language";
longDescription =
@ -59,7 +62,7 @@ stdenv.mkDerivation rec {
and a documentation generator (ocamldoc).
'';
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
platforms = with platforms; linux ++ darwin;
};
}

View File

@ -33,10 +33,13 @@ stdenv.mkDerivation rec {
nativeCompilers = useNativeCompilers;
};
meta = {
meta = with stdenv.lib; {
homepage = http://caml.inria.fr/ocaml;
branch = "4.00";
license = [ "QPL" /* compiler */ "LGPLv2" /* library */ ];
license = with licenses; [
qpl /* compiler */
lgpl2 /* library */
];
description = "Most popular variant of the Caml language";
longDescription =
@ -58,7 +61,7 @@ stdenv.mkDerivation rec {
and a documentation generator (ocamldoc).
'';
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
platforms = with platforms; linux ++ darwin;
};
}

View File

@ -48,10 +48,13 @@ stdenv.mkDerivation rec {
nativeCompilers = useNativeCompilers;
};
meta = {
meta = with stdenv.lib; {
homepage = http://caml.inria.fr/ocaml;
branch = "4.01";
license = [ "QPL" /* compiler */ "LGPLv2" /* library */ ];
license = with licenses; [
qpl /* compiler */
lgpl2 /* library */
];
description = "Most popular variant of the Caml language";
longDescription =
@ -73,7 +76,7 @@ stdenv.mkDerivation rec {
and a documentation generator (ocamldoc).
'';
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
platforms = with platforms; linux ++ darwin;
};
}

View File

@ -44,10 +44,13 @@ stdenv.mkDerivation rec {
nativeCompilers = useNativeCompilers;
};
meta = {
meta = with stdenv.lib; {
homepage = http://caml.inria.fr/ocaml;
branch = "4.02";
license = [ "QPL" /* compiler */ "LGPLv2" /* library */ ];
license = with licenses; [
qpl /* compiler */
lgpl2 /* library */
];
description = "Most popular variant of the Caml language";
longDescription =
@ -69,7 +72,7 @@ stdenv.mkDerivation rec {
and a documentation generator (ocamldoc).
'';
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
platforms = with platforms; linux ++ darwin;
};
}

View File

@ -55,9 +55,16 @@ stdenv.mkDerivation rec {
cd ..
'';
meta = {
meta = with stdenv.lib; {
homepage = "http://okmij.org/ftp/ML/index.html#ber-metaocaml";
license = [ "QPL" /* compiler */ "LGPLv2" /* library */ ];
description = "A conservative extension of OCaml with the primitive type of code values, and three basic multi-stage expression forms: Brackets, Escape, and Run";
license = with licenses; [
qpl /* compiler */
lgpl2 /* library */
];
description = "Conservative extension of OCaml";
longDescription = ''
A conservative extension of OCaml with the primitive type of code values,
and three basic multi-stage expression forms: Brackets, Escape, and Run
'';
};
}

View File

@ -4726,7 +4726,7 @@ self: {
sha256 = "1kf638h5gsc8fklhaw2jiad1r0ssgj8zkfmzywp85lrx5z529gky";
buildDepends = [ base haskell98 ];
description = "A finite map implementation, derived from the paper: Efficient sets: a balancing act, S. Adams, Journal of functional programming 3(4) Oct 1993, pp553-562";
license = "BSD4";
license = stdenv.lib.licenses.bsdOriginal;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
@ -21072,7 +21072,7 @@ self: {
glib Glob gtk gtksourceview2 hint mtl process syb
];
description = "A GTK-based abstract syntax tree viewer for custom languages and parsers";
license = "BSD4";
license = stdenv.lib.licenses.bsdOriginal;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
@ -21084,7 +21084,7 @@ self: {
sha256 = "1rqqlngmcdd7i1gww95lyim971w8xv0hjg20h0j8av4y29pjxfyn";
buildDepends = [ base containers syb ];
description = "Interfacing between hint and astview";
license = "BSD4";
license = stdenv.lib.licenses.bsdOriginal;
}) {};
"async" = callPackage

View File

@ -101,12 +101,12 @@ stdenv.mkDerivation rec {
sed -i "s|'--with-baseruby=${baseruby}/bin/ruby'||" $rbConfig
'';
meta = {
license = "Ruby";
meta = with stdenv.lib; {
license = with licenses; [ ruby ];
homepage = "http://www.ruby-lang.org/en/";
description = "The Ruby language";
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
platforms = stdenv.lib.platforms.all;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.all;
};
passthru = rec {

View File

@ -24,7 +24,7 @@ stdenv.mkDerivation {
meta = with stdenv.lib; {
homepage = "http://www.highscore.de/boost/process0.5/";
description = "Library to manage system processes";
license = "boost-license";
license = with licenses; boost;
platforms = platforms.unix;
maintainers = with maintainers; [ abbradar ];
};

View File

@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
'' + glib.flattenInclude
);
meta = {
meta = with stdenv.lib; {
description = "A 2D graphics library with support for multiple output devices";
longDescription = ''
@ -77,8 +77,8 @@ stdenv.mkDerivation rec {
homepage = http://cairographics.org/;
license = [ "LGPLv2+" "MPLv1" ];
license = with licenses; [ lgpl2Plus mpl10 ];
platforms = stdenv.lib.platforms.all;
platforms = platforms.all;
};
}

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ cairo x11 fontconfig freetype libsigcxx ];
meta = {
meta = with stdenv.lib; {
description = "A 2D graphics library with support for multiple output devices";
longDescription = ''
@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
homepage = http://cairographics.org/;
license = [ "LGPLv2+" "MPLv1" ];
license = with licenses; [ lgpl2Plus mpl10 ];
};
}

View File

@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
# <http://hydra.bordeaux.inria.fr/build/51474/nixlog/1/raw>.
doCheck = !stdenv.isCygwin;
meta = {
meta = with stdenv.lib; {
description = "Portable abstraction of hierarchical architectures for high-performance computing";
longDescription = ''
@ -63,11 +63,11 @@ stdenv.mkDerivation rec {
'';
# http://www.open-mpi.org/projects/hwloc/license.php
license = "revised-BSD";
license = with licenses; bsd3;
homepage = http://www.open-mpi.org/projects/hwloc/;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
platforms = platforms.all;
};
}

View File

@ -41,7 +41,7 @@ stdenv.mkDerivation {
cp -v *.jar "$out/share/java"
'';
meta = {
meta = with stdenv.lib; {
description = "An implementation of JavaScript written in Java";
longDescription =
@ -52,6 +52,6 @@ stdenv.mkDerivation {
homepage = http://www.mozilla.org/rhino/;
license = [ "MPLv1.1" /* or */ "GPLv2+" ];
license = with licenses; [ mpl11 /* or */ gpl2Plus ];
};
}

View File

@ -16,11 +16,11 @@ stdenv.mkDerivation rec {
mkdir -p $out/lib
'';
buildInputs = [pkgconfig glib ncurses];
buildInputs = [ pkgconfig glib ncurses ];
meta = {
meta = with stdenv.lib; {
homepage = http://libpseudo.sourceforge.net/;
description = "Simple, thread-safe messaging between threads";
license="GPLv2+";
license = with licenses; gpl2Plus;
};
}

View File

@ -18,9 +18,9 @@ stdenv.mkDerivation rec {
buildInputs = [pkgconfig glib ncurses gpm];
meta = {
meta = with stdenv.lib; {
homepage = http://libviper.sourceforge.net/;
description = "Simple window creation and management facilities for the console";
license="GPLv2+";
license = with licenses; gpl2Plus;
};
}

View File

@ -17,12 +17,12 @@ stdenv.mkDerivation rec {
mkdir -p $out/lib
'';
buildInputs = [pkgconfig glib ncurses];
buildInputs = [ pkgconfig glib ncurses ];
meta = {
meta = with stdenv.lib; {
homepage = http://libvterm.sourceforge.net/;
description = "Terminal emulator library to mimic both vt100 and rxvt";
license = "GPLv2+";
platforms = stdenv.lib.platforms.linux;
license = with licenses; gpl2Plus;
platforms = platforms.linux;
};
}

View File

@ -16,9 +16,9 @@ stdenv.mkDerivation rec {
buildInputs = [ pkgconfig openssl autoconf automake libtool ];
meta = {
meta = with stdenv.lib; {
homepage = https://www.opensc-project.org/opensc/wiki/pkcs11-helper;
license = [ "BSD" "GPLv2" ];
license = with licenses; [ "BSD" gpl2 ];
description = "Library that simplifies the interaction with PKCS#11 providers";
};
}

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ mesa glew freetype fontconfig fribidi libX11 ];
# FIXME: Configure fails to use system glew.
meta = {
meta = with stdenv.lib; {
description = "A free implementation of the OpenGL Character Renderer";
longDescription = ''
QuesoGLC is a free (as in free speech) implementation of the OpenGL
@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
platform that supports both FreeType and the OpenGL API.
'';
homepage = http://quesoglc.sourceforge.net/;
license = [ "LGPLv2.1+" ];
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = with stdenv.lib.platforms; linux;
license = with licenses; [ lgpl21Plus ];
maintainers = with maintainers; [ astsmtl ];
platforms = with platforms; linux;
};
}

View File

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "RabbitMQ Java client library which allows Java code to interface to AMQP servers";
homepage = http://www.rabbitmq.com/java-client.html;
license = [ "MPLv1.1" "GPLv2" ];
license = with licenses; [ mpl11 gpl2 ];
platforms = platforms.linux;
};
}

View File

@ -37,13 +37,13 @@ stdenv.mkDerivation rec {
blas = atlas;
};
meta = {
meta = with stdenv.lib; {
inherit version;
description = "Linear Algebra PACKage";
homepage = "http://www.netlib.org/lapack/";
license = "revised-BSD";
license = with licenses; bsd3;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.simons ];
platforms = platforms.all;
maintainers = [ maintainers.simons ];
};
}

View File

@ -37,13 +37,13 @@ stdenv.mkDerivation rec {
blas = atlas;
};
meta = {
meta = with stdenv.lib; {
inherit version;
description = "Linear Algebra PACKage";
homepage = "http://www.netlib.org/lapack/";
license = "revised-BSD";
license = with licenses; bsd3;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.simons ];
platforms = platforms.all;
maintainers = [ maintainers.simons ];
};
}

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
doCheck = true;
meta = {
meta = with stdenv.lib; {
description = "Library to extract data from files archived in a zip file";
longDescription = ''
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
zip/unzip tools.
'';
license = [ "LGPLv2+" "MPLv1.1" ];
license = with licenses; [ lgpl2Plus mpl11 ];
homepage = http://zziplib.sourceforge.net/;

View File

@ -32,7 +32,7 @@ stdenv.mkDerivation {
export PREFIX=$out
'';
meta = {
meta = with stdenv.lib; {
homepage = http://pauillac.inria.fr/~fpottier/menhir/;
description = "A LR(1) parser generator for OCaml";
longDescription = ''
@ -41,10 +41,11 @@ stdenv.mkDerivation {
to OCaml code. Menhir was designed and implemented by François Pottier
and Yann Régis-Gianas.
'';
license = [ "QPL" /* generator */ "LGPLv2" /* library */ ];
platforms = ocaml.meta.platforms;
maintainers = [
stdenv.lib.maintainers.z77z
license = with licenses; [
qpl /* generator */
lgpl2 /* library */
];
platforms = ocaml.meta.platforms;
maintainers = with maintainers; [ z77z ];
};
}

View File

@ -39,10 +39,10 @@ in buildPythonPackage rec {
# Tests are in <nixos/tests/blivet.nix>.
doCheck = false;
meta = {
meta = with stdenv.lib; {
homepage = "https://fedoraproject.org/wiki/Blivet";
description = "Module for management of a system's storage configuration";
license = [ "GPLv2+" "LGPLv2.1+" ];
platforms = stdenv.lib.platforms.linux;
license = with licenses; [ gpl2Plus lgpl21Plus ];
platforms = platforms.linux;
};
}

View File

@ -24,7 +24,7 @@ let version = "5.18"; in
#doCheck = true; # 2 tests fail because of missing /dev/tty
meta = {
meta = with stdenv.lib; {
description = "Automated text and program generation tool";
longDescription = ''
@ -46,7 +46,7 @@ let version = "5.18"; in
documentation of program options.
'';
license = ["GPLv3+" "LGPLv3+" ];
license = with licenses; [ gpl3Plus lgpl3Plus ];
homepage = http://www.gnu.org/software/autogen/;

View File

@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A secure tunneling app for executing tests securely when testing behind firewalls";
license = "unfree";
license = with licenses; unfree;
homepage = https://docs.saucelabs.com/reference/sauce-connect/;
maintainers = with maintainers; [offline];
platforms = with platforms; platforms.linux;

View File

@ -112,10 +112,13 @@ stdenv.mkDerivation rec {
done <build/resources/0ad.desktop >"$out"/share/applications/0ad.desktop
'';
meta = {
meta = with stdenv.lib; {
description = "A free, open-source game of ancient warfare";
homepage = "http://wildfiregames.com/0ad/";
license = [ "GPLv2" "LGPLv2.1" "MIT" "CC BY-SA 3.0" "zlib" ];
license = with licenses; [
gpl2 lgpl21 mit cc-by-sa-30
licenses.zlib # otherwise masked by pkgs.zlib
];
platforms = [ "x86_64-linux" "i686-linux" ];
};
}

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
--replace libGL.so.1 ${mesa}/lib/libGL.so.1
'';
meta = {
meta = with stdenv.lib; {
description = "A free, stand-alone first-person shooter computer game";
longDescription = ''
Do you like old school deathmatch with modern features? How
@ -31,9 +31,9 @@ stdenv.mkDerivation rec {
'';
homepage = http://red.planetarena.org;
# Engine is under GPLv2, everything else is under
license = [ "unfree-redistributable" ];
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = stdenv.lib.platforms.linux;
license = with licenses; unfreeRedistributable;
maintainers = with maintainers; [ astsmtl ];
platforms = platforms.linux;
hydraPlatforms = [];
};
}

View File

@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
chmod +x $out/bin/GSB
'';
meta = {
meta = with stdenv.lib; {
description = "Gratuitous Space Battles";
longDescription = ''
a strategy / management / simulation game that does away with all the
@ -66,8 +66,8 @@ stdenv.mkDerivation rec {
battle (or at least blow to bits in aesthetically pleasing ways).
'';
homepage = http://www.positech.co.uk/gratuitousspacebattles/index.html;
license = [ "unfree" ];
maintainers = with stdenv.lib.maintainers; [ jcumming ];
license = with licenses; unfree;
maintainers = with maintainers; [ jcumming ];
platforms = [ "x86_64-linux" "i686-linux" ] ;
};

View File

@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
done
'';
dontPatchELF = true;
meta = {
meta = with stdenv.lib; {
description = "A game that blends a team based FPS with elements of an RTS";
longDescription = ''
Tremulous is a free, open source game that blends a team based FPS with
@ -70,9 +70,12 @@ stdenv.mkDerivation rec {
degree), healing functions and much more...
'';
homepage = http://www.tremulous.net;
license = [ "GPLv2" ]; # media under cc by-sa 2.5
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = with stdenv.lib.platforms; linux;
license = with licenses; [
gpl2
cc-by-sa-25 /* media */
];
maintainers = with maintainers; [ astsmtl ];
platforms = with platforms; linux;
broken = true;
};
}

View File

@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
cur_rpath=$(patchelf --print-rpath $p)
patchelf --set-rpath $cur_rpath:${mesa}/lib $p
'';
meta = {
meta = with stdenv.lib; {
description = "A multiplayer tactical FPS on top of Quake 3 engine";
longDescription = ''
Urban Terror is a free multiplayer first person shooter developed by
@ -57,9 +57,9 @@ stdenv.mkDerivation rec {
realism". This results in a very unique, enjoyable and addictive game.
'';
homepage = http://www.urbanterror.net;
license = [ "unfree-redistributable" ];
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = stdenv.lib.platforms.linux;
license = with licenses; unfreeRedistributable;
maintainers = with maintainers; [ astsmtl ];
platforms = platforms.linux;
hydraPlatforms = [];
};
}

View File

@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
chmod +x $out/bin/Vessel
'';
meta = {
meta = with stdenv.lib; {
description = "A fluid physics based puzzle game";
longDescription = ''
Living liquid machines have overrun this world of unstoppable progress,
@ -76,8 +76,8 @@ stdenv.mkDerivation rec {
to life, and all the consequences that ensue.
'';
homepage = http://www.strangeloopgames.com;
license = [ "unfree" ];
maintainers = with stdenv.lib.maintainers; [ jcumming ];
license = with licenses; unfree;
maintainers = with maintainers; [ jcumming ];
};
}

View File

@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
cur_rpath=$(patchelf --print-rpath $p)
patchelf --set-rpath $cur_rpath:${mesa}/lib $p
'';
meta = {
meta = with stdenv.lib; {
description = "Multiplayer FPS game designed for competitive gaming";
longDescription = ''
Set in a futuristic cartoon-like world where rocketlauncher-wielding
@ -56,8 +56,8 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.warsow.net;
# Engine is under GPLv2, everything else is under
license = [ "unfree-redistributable" ];
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = with stdenv.lib.platforms; linux;
license = with licenses; unfreeRedistributable;
maintainers = with maintainers; [ astsmtl ];
platforms = with platforms; linux;
};
}

View File

@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
chmod +x $out/bin/WorldofGoo
'';
meta = {
meta = with stdenv.lib; {
description = "A physics based puzzle game";
longDescription = ''
World of Goo is a physics based puzzle / construction game. The millions of Goo
@ -75,8 +75,8 @@ stdenv.mkDerivation rec {
game, or that they are extremely delicious.
'';
homepage = http://worldofgoo.com;
license = [ "unfree" ];
maintainers = with stdenv.lib.maintainers; [ jcumming ];
license = with licenses; unfree;
maintainers = with maintainers; [ jcumming ];
};
}

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation {
package. Provides the minimum necessary functionality to enable
libflashplayer.so/libadobecp.so to play back DRM content.
'';
license = "afl21 gpl2";
license = with licenses; [ afl21 gpl2 ];
maintainers = with maintainers; [ malyn ];
platforms = platforms.linux;
};

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Flexible dictionary server and client implementing RFC 2229";
homepage = http://www.gnu.org/software/dico/;
license = "GPLv3+";
license = with licenses; gpl3Plus;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;

View File

@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Enterprise ready, Network Backup Tool";
homepage = http://bacula.org/;
license = "GPLv2";
license = with licenses; gpl2;
maintainers = with maintainers; [ iElectric lovek323 ];
platforms = stdenv.lib.platforms.all;
platforms = platforms.all;
};
}

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
postInstall = "rm -rf $out/share/doc";
meta = {
meta = with stdenv.lib; {
homepage = http://tukaani.org/xz/;
description = "XZ, general-purpose data compression software, successor of LZMA";
@ -33,8 +33,8 @@ stdenv.mkDerivation rec {
bzip2.
'';
license = [ "GPLv2+" "LGPLv2.1+" ];
maintainers = with stdenv.lib.maintainers; [ sander ];
platforms = stdenv.lib.platforms.all;
license = with licenses; [ gpl2Plus lgpl21Plus ];
maintainers = with maintainers; [ sander ];
platforms = platforms.all;
};
}

View File

@ -45,10 +45,10 @@ buildPythonPackage rec {
# tests are currently _heavily_ broken upstream
doCheck = false;
meta = {
meta = with stdenv.lib; {
homepage = "https://fedoraproject.org/wiki/Blivet";
description = "Module for management of a system's storage configuration";
license = [ "GPLv2+" "LGPLv2.1+" ];
platforms = stdenv.lib.platforms.linux;
license = with licenses; [ gpl2Plus lgpl21Plus ];
platforms = platforms.linux;
};
}

View File

@ -9,8 +9,8 @@ stdenv.mkDerivation {
preConfigure = "./autogen.sh";
buildInputs = [ autoconf automake pkgconfig curl openssl libxml2 fuse ];
meta = {
meta = with stdenv.lib; {
description = "Mount an S3 bucket as filesystem through FUSE";
license = "GPLv2";
license = with licenses; gpl2;
};
}

View File

@ -10,12 +10,12 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl pkgconfig db cyrus_sasl ];
meta = {
meta = with stdenv.lib; {
homepage = http://isync.sourceforge.net/;
description = "Free IMAP and MailDir mailbox synchronizer";
license = [ "GPLv2+" ];
license = with licenses; [ gpl2Plus ];
maintainers = with stdenv.lib.maintainers; [ the-kenny viric ];
platforms = stdenv.lib.platforms.unix;
maintainers = with maintainers; [ the-kenny viric ];
platforms = platforms.unix;
};
}

View File

@ -12,9 +12,9 @@ stdenv.mkDerivation rec {
patches = [ ./maildrop.configure.hack.patch ]; # for building in chroot
meta = {
meta = with stdenv.lib; {
homepage = http://www.courier-mta.org/maildrop/;
description = "Mail filter/mail delivery agent that is used by the Courier Mail Server";
license = [ "GPLv3" ];
license = with licenses; gpl3;
};
}

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
# Tests fail since gcc 4.8
doCheck = false;
meta = {
meta = with stdenv.lib; {
description = "Rich and powerful protocol-independent mail framework";
longDescription = ''
@ -46,13 +46,16 @@ stdenv.mkDerivation rec {
message handling system.
'';
license = [ "LGPLv3+" /* libraries */ "GPLv3+" /* tools */ ];
license = with licenses; [
lgpl3Plus /* libraries */
gpl3Plus /* tools */
];
maintainers = [ ];
homepage = http://www.gnu.org/software/mailutils/;
# Some of the dependencies fail to build on {cyg,dar}win.
platforms = stdenv.lib.platforms.gnu;
platforms = platforms.gnu;
};
}

View File

@ -26,9 +26,9 @@ stdenv.mkDerivation rec {
wrapProgram $out/sbin/nslcd --prefix LD_LIBRARY_PATH ":" $out/lib
'';
meta = {
meta = with stdenv.lib; {
description = "LDAP identity and authentication for NSS/PAM";
homepage = http://arthurdejong.org/nss-pam-ldapd/;
license = [ "GPLv21" ];
license = with licenses; [ lgpl21 ];
};
}

View File

@ -100,7 +100,7 @@ stdenv.mkDerivation rec {
echo "wpa2-ttls" >> "$out/etc/encryption/templates/active"
'';
meta = {
meta = with stdenv.lib; {
homepage = http://wicd.net/;
description = "A wiredless and wired network manager";
longDescription=''
@ -112,7 +112,7 @@ stdenv.mkDerivation rec {
encryption types, such as WPA and WEP. Wicd will automatically
connect at startup to any preferred network within range.
'';
maintainers = [ stdenv.lib.maintainers.roconnor ];
license="GPLv2";
maintainers = [ maintainers.roconnor ];
license = with licenses; gpl2;
};
}

View File

@ -28,10 +28,10 @@ stdenv.mkDerivation rec {
chmod +x $out/sbin/bootchartd
'';
meta = {
meta = with stdenv.lib; {
homepage = http://www.bootchart.org/;
description = "Performance analysis and visualization of the GNU/Linux boot process";
license="GPLv2+";
license = with licenses; gpl2Plus;
};
}

View File

@ -15,11 +15,11 @@ stdenv.mkDerivation rec {
cp dog $out/bin
'';
meta = {
meta = with stdenv.lib; {
homepage = "http://lwn.net/Articles/421072/";
description = "a cat replacement";
license="GPLv2+";
maintainers = with stdenv.lib.maintainers; [qknight];
platforms = with stdenv.lib.platforms; all;
description = "cat replacement";
license = with licenses; gpl2Plus;
maintainers = with maintainers; [ qknight ];
platforms = with platforms; all;
};
}

View File

@ -17,12 +17,12 @@ stdenv.mkDerivation {
sha256 = "3b389bc03b6964ad5ffa57a344b891fdbcf7c9b2604adda723a863f83657c4a0";
};
meta = {
meta = with stdenv.lib; {
homepage = "http://vicerveza.homeunix.net/~viric/soft/tm";
description = "terminal mixer - multiplexer for the i/o of terminal applications";
license="GPLv2";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
license = with licenses; gpl2;
maintainers = with maintainers; [ viric ];
platforms = with platforms; all;
};
}

View File

@ -20,11 +20,11 @@ stdenv.mkDerivation rec {
sha256 = "042r9a09300v4fdrw4r60g5xi25v5m6g12kvvr6pcsm9qnfqyqqs";
};
meta = {
meta = with stdenv.lib; {
homepage = "http://vicerveza.homeunix.net/~viric/soft/ts";
description = "task spooler - batch queue";
license="GPLv2";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
license = with licenses; gpl2;
maintainers = with maintainers; [ viric ];
platforms = with platforms; all;
};
}

View File

@ -33,12 +33,12 @@ let self = _self // overrides; _self = with self; {
# use gnused so that the preCheck command passes
buildInputs = stdenv.lib.optional stdenv.isDarwin [ gnused ];
propagatedBuildInputs = [ FileNext ];
meta = {
meta = with stdenv.lib; {
description = "A grep-like tool tailored to working with large trees of source code";
homepage = http://betterthangrep.com/;
license = "free"; # Artistic 2.0
license = with licenses; artistic2;
maintainers = with maintainers; [ lovek323 ];
platforms = stdenv.lib.platforms.unix;
platforms = platforms.unix;
};
# tests fails on nixos and hydra because of different purity issues
doCheck = false;
@ -3721,9 +3721,9 @@ let self = _self // overrides; _self = with self; {
propagatedBuildInputs =
[ ClassLoad ListMoreUtils ModulePluggable Moose MooseXParamsValidate MooseXSemiAffordanceAccessor namespaceautoclean ]
++ stdenv.lib.optional stdenv.isLinux LinuxInotify2;
meta = {
meta = with stdenv.lib; {
description = "Watch for changes to files, cross-platform style";
license = "artistic_2";
license = with licenses; artistic2;
};
};
@ -3983,10 +3983,10 @@ let self = _self // overrides; _self = with self; {
sha256 = "0mxfhi1ndckj4w7fw20rwy6ymalg2yncnp9xn0v2bnk5ibqj439w";
};
propagatedBuildInputs = [ CryptSSLeay HTMLTableExtract HTMLTree HTTPMessage LWP DateCalc JSON ];
meta = {
meta = with stdenv.lib; {
homepage = http://finance-quote.sourceforge.net/;
description = "Get stock and mutual fund quotes from various exchanges";
license = "gpl";
license = with licenses; gpl2;
};
};
@ -4158,9 +4158,9 @@ let self = _self // overrides; _self = with self; {
buildInputs = [ pkgs.graphviz ];
propagatedBuildInputs = [ IPCRun TestMore ];
meta = {
meta = with stdenv.lib; {
description = "Perl interface to the GraphViz graphing tool";
license = [ "Artistic" ];
license = with licenses; artistic2;
maintainers = [ ];
};
};
@ -4861,7 +4861,7 @@ let self = _self // overrides; _self = with self; {
sha256 = "1f37pi7a6fcphp0kkhj7yr9b5c95m2wvy5jcwjq1xdiq74gdi16c";
};
meta = {
meta = with stdenv.lib; {
description = "ExifTool, a tool to read, write and edit EXIF meta information";
homepage = http://www.sno.phy.queensu.ca/~phil/exiftool/;
@ -4877,10 +4877,10 @@ let self = _self // overrides; _self = with self; {
Sigma/Foveon and Sony.
'';
license = [ "GPLv1+" /* or */ "Artistic" ];
license = with licenses; [ gpl1Plus /* or */ artistic2 ];
maintainers = [ ];
platforms = stdenv.lib.platforms.unix;
platforms = platforms.unix;
};
};
@ -7810,10 +7810,10 @@ let self = _self // overrides; _self = with self; {
sha256 = "c5da0e390b58655934e1df57937d29d7de13b99f5638fe44833832a5b39c8aa5";
};
propagatedBuildInputs = [ FileFindIterator IPCRun constantdefer libintlperl ];
meta = {
meta = with stdenv.lib; {
homepage = http://user42.tuxfamily.org/podlinkcheck/index.html;
description = "Check POD L<> link references";
license = "gpl";
license = with licenses; gpl3Plus;
};
};
@ -7921,9 +7921,9 @@ let self = _self // overrides; _self = with self; {
url = mirror://cpan/authors/id/A/AB/ABIGAIL/Regexp-Common-2013031301.tar.gz;
sha256 = "729a8198d264aa64ecbb233ff990507f97fbb66bda746b95f3286f50f5f25c84";
};
meta = {
meta = with stdenv.lib; {
description = "Provide commonly requested regular expressions";
license = "mit";
license = with licenses; mit;
};
};
@ -8433,9 +8433,9 @@ let self = _self // overrides; _self = with self; {
sha256 = "0mlwm0rirv46gj4h072q8gdync5zxxsxy8p028gdyrhczl942dc3";
};
propagatedBuildInputs = [ ParamsUtil SubExporter ];
meta = {
meta = with stdenv.lib; {
description = "Build sprintf-like functions of your own";
license = "gpl";
license = with licenses; gpl2;
};
};
@ -9333,11 +9333,11 @@ let self = _self // overrides; _self = with self; {
};
buildInputs = [ ClassInspector TestUnitLite ];
propagatedBuildInputs = [ ExceptionBase FatalException Moose namespaceclean TestAssert ];
meta = {
meta = with stdenv.lib; {
description = "Simulating other classes";
license = "lgpl";
license = with licenses; lgpl2Plus;
maintainers = with maintainers; [ ocharles ];
platforms = stdenv.lib.platforms.unix;
platforms = platforms.unix;
};
};

View File

@ -7437,12 +7437,12 @@ let
meta = {
homepage = http://namebench.googlecode.com/;
description = "Find fastest DNS servers available";
license = [
"Apache-2.0"
license = with licenses; [
asl20
# third-party program licenses (embedded in the sources)
"LGPL" # Crystal_Clear
"free" # dns
"Apache-2.0" # graphy
free # dns
asl20 # graphy
"BSD" # jinja2
];
longDescription = ''
@ -8058,7 +8058,7 @@ let
not a large parsing framework or a component of some larger system.
'';
license = "revised-BSD";
license = with licenses; bsd3;
maintainers = [ ];
};
@ -10164,7 +10164,7 @@ let
meta = {
homepage = "https://github.com/rackspace/pyrax";
license = "MIT";
license = with licenses; mit;
description = "Python API to interface with Rackspace";
};
@ -10240,7 +10240,7 @@ let
meta = {
homepage = "http://github.com/mongodb/mongo-python-driver";
license = [ "Apache-2.0" ];
license = with licenses; [ asl20 ];
description = "Python driver for MongoDB ";
};
};
@ -10308,7 +10308,7 @@ let
in Python.
'';
license = "revised BSD";
license = with licenses; bsd3;
maintainers = [ ];
};