treewide: fix the remaining issues with meta attributes

This commit is contained in:
Dan Peebles 2017-04-29 04:24:34 +00:00
parent 1a4ca220e1
commit 90b9719f4f
21 changed files with 39 additions and 38 deletions

View file

@ -43,7 +43,7 @@ kdeApp {
meta = { meta = {
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
homepage = "http://www.kde.org"; homepage = "http://www.kde.org";
licenses = with lib.licenses; [ gpl2 fdl12 lgpl21 ]; license = with lib.licenses; [ gpl2 fdl12 lgpl21 ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
} }

View file

@ -27,7 +27,7 @@ in stdenv.mkDerivation rec {
homepage = "http://pygtk.org/"; homepage = "http://pygtk.org/";
description = "Python wrapper for GNOME libraries"; description = "Python wrapper for GNOME libraries";
platforms = platforms.linux; platforms = platforms.linux;
licenses = licenses.lgpl2; license = licenses.lgpl2;
maintainers = with maintainers; [ qknight ]; maintainers = with maintainers; [ qknight ];
}; };
} }

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "A high performance templating engine"; description = "A high performance templating engine";
homepage = http://ctpp.havoc.ru; homepage = http://ctpp.havoc.ru;
maintiainers = with stdenv.lib.maintainers; [ robbinch ]; maintainers = with stdenv.lib.maintainers; [ robbinch ];
platforms = with stdenv.lib.platforms; linux; platforms = with stdenv.lib.platforms; linux;
}; };
} }

View file

@ -33,7 +33,7 @@ in stdenv.mkDerivation rec {
# you can choose one of the following licenses: # you can choose one of the following licenses:
# GPL or a commercial-use license (available at # GPL or a commercial-use license (available at
# http://www.mega-nerd.com/SRC/libsamplerate-cul.pdf) # http://www.mega-nerd.com/SRC/libsamplerate-cul.pdf)
licenses = with licenses; [ gpl3.shortName unfree ]; license = with licenses; [ gpl3.shortName unfree ];
maintainers = with maintainers; [ lovek323 wkennington ]; maintainers = with maintainers; [ lovek323 wkennington ];
platforms = platforms.all; platforms = platforms.all;
}; };

View file

@ -12,7 +12,6 @@ stdenv.mkDerivation rec {
meta = { meta = {
homepage = http://code.google.com/p/libtiger/; homepage = http://code.google.com/p/libtiger/;
authors = [ "Vincent Penquerc'h" ];
description = "A rendering library for Kate streams using Pango and Cairo"; description = "A rendering library for Kate streams using Pango and Cairo";
platforms = stdenv.lib.platforms.unix; platforms = stdenv.lib.platforms.unix;
}; };

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
inherit (src.meta) homepage; inherit (src.meta) homepage;
description = "Yeraze's TNEF Stream Reader - for winmail.dat files"; description = "Yeraze's TNEF Stream Reader - for winmail.dat files";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platform = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ fpletz ]; maintainers = with maintainers; [ fpletz ];
}; };
} }

View file

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = { meta = {
descritption = "A computer code to create and evaluate fast interpolation tables of pre-computed coefficients in perturbation theory for observables in hadron-induced processes"; description = "A computer code to create and evaluate fast interpolation tables of pre-computed coefficients in perturbation theory for observables in hadron-induced processes";
license = stdenv.lib.licenses.gpl3; license = stdenv.lib.licenses.gpl3;
homepage = http://fastnlo.hepforge.org; homepage = http://fastnlo.hepforge.org;
platforms = stdenv.lib.platforms.unix; platforms = stdenv.lib.platforms.unix;

View file

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
]; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
hompage = http://www.speex.org/; homepage = http://www.speex.org/;
description = "An Open Source/Free Software patent-free audio compression format designed for speech"; description = "An Open Source/Free Software patent-free audio compression format designed for speech";
license = licenses.bsd3; license = licenses.bsd3;
platforms = platforms.unix; platforms = platforms.unix;

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
] ++ stdenv.lib.optional stdenv.isAarch64 "--disable-neon"; ] ++ stdenv.lib.optional stdenv.isAarch64 "--disable-neon";
meta = with stdenv.lib; { meta = with stdenv.lib; {
hompage = http://www.speex.org/; homepage = http://www.speex.org/;
description = "An Open Source/Free Software patent-free audio compression format designed for speech"; description = "An Open Source/Free Software patent-free audio compression format designed for speech";
license = licenses.bsd3; license = licenses.bsd3;
platforms = platforms.unix; platforms = platforms.unix;

View file

@ -71,7 +71,6 @@ stdenv.mkDerivation {
description = "AVR development environment including binutils, avr-gcc and avr-libc"; description = "AVR development environment including binutils, avr-gcc and avr-libc";
# I've tried compiling the packages separately.. too much hassle. This just works. Fine. # I've tried compiling the packages separately.. too much hassle. This just works. Fine.
license = ["GPL" "LGPL"]; # see single packages .. license = ["GPL" "LGPL"]; # see single packages ..
homepage = []; # dito
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }

View file

@ -28,7 +28,7 @@
description = "A abstract syntax tree for Python with inference support"; description = "A abstract syntax tree for Python with inference support";
homepage = http://bitbucket.org/logilab/astroid; homepage = http://bitbucket.org/logilab/astroid;
license = licenses.lgpl2; license = licenses.lgpl2;
platform = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ nand0p ]; maintainers = with maintainers; [ nand0p ];
}; };
} }

View file

@ -35,7 +35,7 @@
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://www.logilab.org/project/pylint; homepage = http://www.logilab.org/project/pylint;
description = "A bug and style checker for Python"; description = "A bug and style checker for Python";
platform = platforms.all; platforms = platforms.all;
license = licenses.gpl1Plus; license = licenses.gpl1Plus;
maintainers = with maintainers; [ nand0p ]; maintainers = with maintainers; [ nand0p ];
}; };

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "http://sourceforge.net/projects/bridge/"; description = "http://sourceforge.net/projects/bridge/";
homepage = [ "http://www.linux-foundation.org/en/Net:Bridge/" "http://sourceforge.net/projects/bridge/" ]; homepage = "http://www.linux-foundation.org/en/Net:Bridge/";
license = "GPL"; license = "GPL";
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;
}; };

View file

@ -43,6 +43,6 @@ stdenv.mkDerivation rec {
homepage = ftp://ftp.altlinux.org/pub/people/legion/kbd/; homepage = ftp://ftp.altlinux.org/pub/people/legion/kbd/;
description = "Linux keyboard utilities and keyboard maps"; description = "Linux keyboard utilities and keyboard maps";
platforms = platforms.linux; platforms = platforms.linux;
licenses = licenses.gpl2Plus; license = licenses.gpl2Plus;
}; };
} }

View file

@ -60,7 +60,7 @@ stdenv.mkDerivation {
meta = { meta = {
homepage = http://sourceware.org/lvm2/; homepage = http://sourceware.org/lvm2/;
descriptions = "Tools to support Logical Volume Management (LVM) on Linux"; description = "Tools to support Logical Volume Management (LVM) on Linux";
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [raskin]; maintainers = with stdenv.lib.maintainers; [raskin];
inherit version; inherit version;

View file

@ -126,7 +126,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Sound server for POSIX and Win32 systems"; description = "Sound server for POSIX and Win32 systems";
homepage = http://www.pulseaudio.org/; homepage = http://www.pulseaudio.org/;
licenses = lib.licenses.lgpl2Plus; license = lib.licenses.lgpl2Plus;
maintainers = with lib.maintainers; [ lovek323 wkennington ]; maintainers = with lib.maintainers; [ lovek323 wkennington ];
platforms = lib.platforms.unix; platforms = lib.platforms.unix;

View file

@ -18,7 +18,7 @@ let lib = import ../../../lib; in lib.makeOverridable (
let let
shouldCheckMeta = config.checkMeta or false; shouldCheckMeta = config.checkMeta or true;
allowUnfree = config.allowUnfree or false || builtins.getEnv "NIXPKGS_ALLOW_UNFREE" == "1"; allowUnfree = config.allowUnfree or false || builtins.getEnv "NIXPKGS_ALLOW_UNFREE" == "1";
@ -221,12 +221,15 @@ let
# Weirder stuff that doesn't appear in the documentation? # Weirder stuff that doesn't appear in the documentation?
version = str; version = str;
tag = str;
updateWalker = bool; updateWalker = bool;
executables = listOf str; executables = listOf str;
outputsToInstall = listOf str; outputsToInstall = listOf str;
position = str; position = str;
repositories = attrsOf str; repositories = attrsOf str;
isBuildPythonPackage = platforms; isBuildPythonPackage = platforms;
schedulingPriority = str;
downloadURLRegexp = str;
}; };
checkMetaAttr = k: v: checkMetaAttr = k: v:

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Hiragana text to Kana Kanji mixed text Japanese input method"; description = "Hiragana text to Kana Kanji mixed text Japanese input method";
homepace = http://sourceforge.jp/projects/anthy/; homepage = http://sourceforge.jp/projects/anthy/;
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with maintainers; [ ericsagnes ]; maintainers = with maintainers; [ ericsagnes ];
platforms = platforms.linux; platforms = platforms.linux;

View file

@ -29,6 +29,6 @@ buildGoPackage rec {
description = "A tool for importing go packages into gx"; description = "A tool for importing go packages into gx";
homepage = https://github.com/whyrusleeping/gx-go; homepage = https://github.com/whyrusleeping/gx-go;
license = licenses.mit; license = licenses.mit;
maintainer = with maintainers; [ zimbatm ]; maintainers = with maintainers; [ zimbatm ];
}; };
} }

View file

@ -48,7 +48,7 @@ stdenv.mkDerivation {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A full-featured (La)TeX distribution"; description = "A full-featured (La)TeX distribution";
homepage = http://www.tug.org/tetex/; homepage = http://www.tug.org/tetex/;
matintainers = with maintainers; [ lovek323 ]; maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix; platforms = platforms.unix;
hydraPlatforms = []; hydraPlatforms = [];
}; };

View file

@ -1176,7 +1176,7 @@ in {
}; };
meta = with pkgs.stdenv.lib; { meta = with pkgs.stdenv.lib; {
descriptions = "Library for reading, writing and rewriting python AST"; description = "Library for reading, writing and rewriting python AST";
homepage = https://github.com/berkerpeksag/astor; homepage = https://github.com/berkerpeksag/astor;
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ nixy ]; maintainers = with maintainers; [ nixy ];
@ -5214,7 +5214,7 @@ in {
meta = { meta = {
license = licenses.mit; license = licenses.mit;
website = "https://pypi.python.org/pypi/pytest-cache/"; homepage = "https://pypi.python.org/pypi/pytest-cache/";
description = "pytest plugin with mechanisms for caching across test runs"; description = "pytest plugin with mechanisms for caching across test runs";
}; };
}; };
@ -5232,7 +5232,7 @@ in {
meta = { meta = {
license = licenses.mit; license = licenses.mit;
website = https://pypi.python.org/pypi/pytest-catchlog/; homepage = https://pypi.python.org/pypi/pytest-catchlog/;
description = "py.test plugin to catch log messages. This is a fork of pytest-capturelog."; description = "py.test plugin to catch log messages. This is a fork of pytest-capturelog.";
}; };
}; };
@ -5308,7 +5308,7 @@ in {
meta = { meta = {
license = licenses.mit; license = licenses.mit;
website = "https://pypi.python.org/pypi/pytest-flakes"; homepage = "https://pypi.python.org/pypi/pytest-flakes";
description = "pytest plugin to check source code with pyflakes"; description = "pytest plugin to check source code with pyflakes";
}; };
}; };
@ -5354,7 +5354,7 @@ in {
meta = { meta = {
license = licenses.mit; license = licenses.mit;
website = "https://pypi.python.org/pypi/pytest-pep8"; homepage = "https://pypi.python.org/pypi/pytest-pep8";
description = "pytest plugin to check PEP8 requirements"; description = "pytest plugin to check PEP8 requirements";
}; };
}; };
@ -5419,7 +5419,7 @@ in {
meta = { meta = {
license = licenses.asl20; license = licenses.asl20;
website = "https://pypi.python.org/pypi/pytest-quickcheck"; homepage = "https://pypi.python.org/pypi/pytest-quickcheck";
description = "pytest plugin to generate random data inspired by QuickCheck"; description = "pytest plugin to generate random data inspired by QuickCheck";
}; };
}; };
@ -8164,7 +8164,7 @@ in {
description = "Cross-platform Bluetooth API for Python"; description = "Cross-platform Bluetooth API for Python";
maintainers = with maintainers; [ leenaars ]; maintainers = with maintainers; [ leenaars ];
license = licenses.gpl3; license = licenses.gpl3;
platform = platforms.all; platforms = platforms.all;
}; };
}; };
@ -8799,7 +8799,7 @@ in {
meta = { meta = {
description = "A Python-based build/distribution/deployment scripting tool"; description = "A Python-based build/distribution/deployment scripting tool";
homepage = http://github.com/paver/paver; homepage = http://github.com/paver/paver;
matinainers = with maintainers; [ lovek323 ]; maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
}; };
@ -9089,7 +9089,7 @@ in {
description = "Call graph visualizations for Python applications"; description = "Call graph visualizations for Python applications";
maintainers = with maintainers; [ auntie ]; maintainers = with maintainers; [ auntie ];
license = licenses.gpl2; license = licenses.gpl2;
platform = platforms.all; platforms = platforms.all;
}; };
}; };
@ -9225,7 +9225,7 @@ in {
description = "Python port of libaxolotl-android"; description = "Python port of libaxolotl-android";
maintainers = with maintainers; [ abbradar ]; maintainers = with maintainers; [ abbradar ];
license = licenses.gpl3; license = licenses.gpl3;
platform = platforms.all; platforms = platforms.all;
}; };
}; };
@ -9243,7 +9243,7 @@ in {
description = "Curve25519 with ed25519 signatures"; description = "Curve25519 with ed25519 signatures";
maintainers = with maintainers; [ abbradar ]; maintainers = with maintainers; [ abbradar ];
license = licenses.gpl3; license = licenses.gpl3;
platform = platforms.all; platforms = platforms.all;
}; };
}; };
@ -9268,7 +9268,7 @@ in {
description = "Postfix policy engine for Sender Policy Framework (SPF) checking"; description = "Postfix policy engine for Sender Policy Framework (SPF) checking";
maintainers = with maintainers; [ abbradar ]; maintainers = with maintainers; [ abbradar ];
license = licenses.asl20; license = licenses.asl20;
platform = platforms.all; platforms = platforms.all;
}; };
}; };
@ -9473,7 +9473,7 @@ in {
description = "Python API for Sendmail Milters (SPF)"; description = "Python API for Sendmail Milters (SPF)";
maintainers = with maintainers; [ abbradar ]; maintainers = with maintainers; [ abbradar ];
license = licenses.gpl2; license = licenses.gpl2;
platform = platforms.all; platforms = platforms.all;
}; };
}; };
@ -9674,7 +9674,7 @@ in {
homepage = "http://sarge.readthedocs.org/"; homepage = "http://sarge.readthedocs.org/";
description = "A wrapper for subprocess which provides command pipeline functionality"; description = "A wrapper for subprocess which provides command pipeline functionality";
license = licenses.bsd3; license = licenses.bsd3;
platform = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ abbradar ]; maintainers = with maintainers; [ abbradar ];
}; };
}; };
@ -14590,7 +14590,7 @@ in {
buildInputs = with self; [nose]; buildInputs = with self; [nose];
meta = { meta = {
decription = "The fastest markdown parser in pure Python"; description = "The fastest markdown parser in pure Python";
homepage = https://github.com/lepture/mistune; homepage = https://github.com/lepture/mistune;
license = licenses.bsd3; license = licenses.bsd3;
}; };
@ -15565,7 +15565,7 @@ in {
propagatedBuildInputs = with self ; [ aiodns pyasn1 pkgs.gnupg1 pyasn1-modules]; propagatedBuildInputs = with self ; [ aiodns pyasn1 pkgs.gnupg1 pyasn1-modules];
meta = { meta = {
meta = "Elegant Python library for XMPP"; description = "Elegant Python library for XMPP";
license = licenses.mit; license = licenses.mit;
homepage = https://dev.louiz.org/projects/slixmpp; homepage = https://dev.louiz.org/projects/slixmpp;
}; };
@ -22821,7 +22821,7 @@ in {
buildInputs = with self; [ appdirs ]; buildInputs = with self; [ appdirs ];
meta = with pkgs.stdenv.lib; { meta = with pkgs.stdenv.lib; {
descriptions = "A python Lex/Yacc that works with RPython"; description = "A python Lex/Yacc that works with RPython";
homepage = https://github.com/alex/rply; homepage = https://github.com/alex/rply;
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ nixy ]; maintainers = with maintainers; [ nixy ];
@ -25666,7 +25666,7 @@ in {
meta = { meta = {
description = "Quick Response code generation for Python"; description = "Quick Response code generation for Python";
home = "https://pypi.python.org/pypi/qrcode"; homepage = "https://pypi.python.org/pypi/qrcode";
license = licenses.bsd3; license = licenses.bsd3;
}; };
}; };