Merge pull request #4030 from AndersonTorres/small-fixups

Small style fixups

+88 -90
+5 -6
pkgs/applications/misc/fme/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, autoconf, automake, gettext 2 - , fluxbox, bc, gtkmm, glibmm, libglademm, libsigcxx 3 - }: 2 + , fluxbox, bc, gtkmm, glibmm, libglademm, libsigcxx }: 4 3 5 4 stdenv.mkDerivation rec{ 6 5 ··· 18 17 ./autogen.sh 19 18 ''; 20 19 21 - meta = { 20 + meta = with stdenv.lib; { 22 21 description = "Editor for Fluxbox menus"; 23 22 longDescription = '' 24 23 Fluxbox Menu Editor is a menu editor for the Window Manager Fluxbox written in C++ ··· 27 26 a row, a submenu, etc very easily. 28 27 ''; 29 28 homepage = https://github.com/rdehouss/fme/; 30 - license = stdenv.lib.licenses.gpl2; 31 - maintainers = [ stdenv.lib.maintainers.AndersonTorres ]; 32 - platforms = stdenv.lib.platforms.linux; 29 + license = licenses.gpl2; 30 + maintainers = [ maintainers.AndersonTorres ]; 31 + platforms = platforms.linux; 33 32 }; 34 33 }
+5 -5
pkgs/applications/misc/galculator/default.nix
··· 1 1 { stdenv, fetchurl 2 - , intltool, pkgconfig, gtk 3 - }: 2 + , intltool, pkgconfig, gtk }: 4 3 5 4 stdenv.mkDerivation rec { 6 5 ··· 14 13 15 14 buildInputs = [ intltool pkgconfig gtk ]; 16 15 17 - meta = { 16 + meta = with stdenv.lib; { 18 17 description = "A GTK 2/3 algebraic and RPN calculator"; 19 18 longDescription = '' 20 19 galculator is a GTK 2 / GTK 3 based calculator. Its main features include: ··· 29 28 - Quad-precision floating point arithmetic, and 112-bit binary arithmetic 30 29 ''; 31 30 homepage = http://galculator.sourceforge.net/; 32 - license = stdenv.lib.licenses.gpl2Plus; 33 - maintainers = [ stdenv.lib.maintainers.AndersonTorres ]; 31 + license = licenses.gpl2Plus; 32 + maintainers = [ maintainers.AndersonTorres ]; 33 + platforms = platforms.linux; 34 34 }; 35 35 }
+4 -4
pkgs/applications/misc/lilyterm/default.nix
··· 22 22 --enable-safe-mode 23 23 ''; 24 24 25 - meta = { 25 + meta = with stdenv; { 26 26 description = "A fast, lightweight terminal emulator"; 27 27 longDescription = '' 28 28 LilyTerm is a terminal emulator based off of libvte that aims to be fast and lightweight. 29 29 ''; 30 30 homepage = http://lilyterm.luna.com.tw/; 31 - license = stdenv.lib.licenses.gpl3; 32 - maintainers = [ stdenv.lib.maintainers.AndersonTorres ]; 33 - platforms = stdenv.lib.platforms.linux; 31 + license = licenses.gpl3; 32 + maintainers = [ maintainers.AndersonTorres ]; 33 + platforms = platforms.linux; 34 34 }; 35 35 }
+1 -2
pkgs/applications/misc/tilda/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig 2 2 , autoreconfHook, gettext, expat 3 3 , confuse, vte, gtk 4 - , makeWrapper 5 - }: 4 + , makeWrapper }: 6 5 7 6 stdenv.mkDerivation rec { 8 7
+4 -4
pkgs/applications/misc/vym/default.nix
··· 15 15 qmake PREFIX="$out" 16 16 ''; 17 17 18 - meta = { 18 + meta = with stdenv.lib; { 19 19 description = "A mind-mapping software"; 20 20 longDescription = '' 21 21 VYM (View Your Mind) is a tool to generate and manipulate maps which show your thoughts. ··· 28 28 vym offers much more features to work with such maps. 29 29 ''; 30 30 homepage = http://www.insilmaril.de/vym/; 31 - license = stdenv.lib.licenses.gpl2; 32 - maintainer = [ stdenv.lib.maintainers.AndersonTorres ]; 33 - platforms = stdenv.lib.platforms.linux; 31 + license = licenses.gpl2; 32 + maintainer = [ maintainers.AndersonTorres ]; 33 + platforms = platforms.linux; 34 34 }; 35 35 }
+9 -9
pkgs/applications/misc/xiphos/default.nix
··· 7 7 , libgsf, gconf 8 8 , gtkhtml, libgtkhtml, libglade, scrollkeeper 9 9 , webkitgtk 10 - , dbus_glib, enchant, isocodes, libuuid 11 - }: 10 + , dbus_glib, enchant, isocodes, libuuid }: 12 11 13 12 stdenv.mkDerivation rec { 14 13 name = "xiphos-${version}"; ··· 42 41 python waf install 43 42 ''; 44 43 45 - meta = { 44 + meta = with stdenv.lib; { 46 45 description = "A GTK Bible study tool"; 47 46 longDescription = '' 48 - Xiphos (formerly known as GnomeSword) is a Bible study tool written for Linux, UNIX, 49 - and Windows using GTK, offering a rich and featureful environment for reading, study, 50 - and research using modules from The SWORD Project and elsewhere. 47 + Xiphos (formerly known as GnomeSword) is a Bible study tool 48 + written for Linux, UNIX, and Windows using GTK, offering a rich 49 + and featureful environment for reading, study, and research using 50 + modules from The SWORD Project and elsewhere. 51 51 ''; 52 52 homepage = http://www.xiphos.org/; 53 - license = stdenv.lib.licenses.gpl2Plus; 54 - maintainers = [ stdenv.lib.maintainers.AndersonTorres ]; 55 - platforms = stdenv.lib.platforms.linux; 53 + license = licenses.gpl2Plus; 54 + maintainers = [ maintainers.AndersonTorres ]; 55 + platforms = platforms.linux; 56 56 }; 57 57 }
+7 -5
pkgs/applications/networking/browsers/dillo/default.nix
··· 3 3 , openssl 4 4 , libjpeg, libpng 5 5 , perl 6 - , libXcursor, libXi, libXinerama 7 - }: 6 + , libXcursor, libXi, libXinerama }: 8 7 9 8 stdenv.mkDerivation rec { 10 9 version = "3.0.4"; ··· 22 21 23 22 configureFlags = "--enable-ssl"; 24 23 25 - meta = { 24 + meta = with stdenv.lib; { 26 25 homepage = http://www.dillo.org/; 27 26 description = "A fast graphical web browser with a small footprint"; 28 - maintainers = [ stdenv.lib.maintainers.AndersonTorres ]; 29 - platforms = stdenv.lib.platforms.linux; 27 + longDescription = '' 28 + Dillo is a small, fast web browser, tailored for older machines. 29 + ''; 30 + maintainers = [ maintainers.AndersonTorres ]; 31 + platforms = platforms.linux; 30 32 }; 31 33 }
+1 -3
pkgs/applications/video/aegisub/default.nix
··· 10 10 , openalSupport ? false, openal ? null 11 11 , alsaSupport ? true, alsaLib ? null 12 12 , pulseaudioSupport ? true, pulseaudio ? null 13 - , portaudioSupport ? false, portaudio ? null 14 - }: 13 + , portaudioSupport ? false, portaudio ? null }: 15 14 16 15 assert spellChecking -> (hunspell != null); 17 16 assert automationSupport -> (lua != null); ··· 62 61 # - so the resulting program will be GPL 63 62 maintainers = [ maintainers.AndersonTorres ]; 64 63 platforms = platforms.linux; 65 - 66 64 }; 67 65 }
+9 -8
pkgs/applications/video/mpv/default.nix
··· 22 22 # for Youtube support 23 23 , quviSupport ? false, libquvi ? null 24 24 , cacaSupport ? false, libcaca ? null 25 - , vaapiSupport ? false, libva ? null 26 - }: 25 + , vaapiSupport ? false, libva ? null }: 27 26 28 27 assert x11Support -> (libX11 != null && libXext != null && mesa != null && libXxf86vm != null); 29 28 assert xineramaSupport -> (libXinerama != null && x11Support); ··· 114 113 ln -s ${freefont_ttf}/share/fonts/truetype/FreeSans.ttf $out/share/mpv/subfont.ttf 115 114 ''; 116 115 117 - meta = { 116 + meta = with stdenv.lib;{ 118 117 description = "A movie player that supports many video formats (MPlayer and mplayer2 fork)"; 119 118 longDescription = '' 120 - mpv is a free and open-source general-purpose video player, based on the MPlayer and mplayer2 projects, with great improvements above both. 119 + mpv is a free and open-source general-purpose video player, 120 + based on the MPlayer and mplayer2 projects, with great 121 + improvements above both. 121 122 ''; 122 - homepage = "http://mpv.io"; 123 - license = stdenv.lib.licenses.gpl2Plus; 124 - maintainers = [ stdenv.lib.maintainers.AndersonTorres ]; 125 - platforms = stdenv.lib.platforms.linux; 123 + homepage = http://mpv.io; 124 + license = licenses.gpl2Plus; 125 + maintainers = [ maintainers.AndersonTorres ]; 126 + platforms = platforms.linux; 126 127 }; 127 128 } 128 129
+5 -6
pkgs/applications/video/wxcam/default.nix
··· 9 9 , mjpegtools 10 10 , alsaLib 11 11 , libv4l 12 - , cimg 13 - }: 12 + , cimg }: 14 13 15 14 stdenv.mkDerivation rec { 16 15 ··· 35 34 make install prefix="$out" wxcamdocdir="$out/share/doc/wxcam" 36 35 ''; 37 36 38 - meta = { 37 + meta = with stdenv.lib; { 39 38 description = "An open-source, wxGTK-based webcam app for Linux"; 40 39 longDescription = '' 41 40 wxCam is a webcam application for linux. It supports video recording ··· 45 44 so it should work on a very large number of devices. 46 45 ''; 47 46 homepage = http://wxcam.sourceforge.net/; 48 - license = stdenv.lib.licenses.gpl3Plus; 49 - maintainers = [ stdenv.lib.maintainers.AndersonTorres ]; 50 - platforms = stdenv.lib.platforms.linux; 47 + license = licenses.gpl3Plus; 48 + maintainers = [ maintainers.AndersonTorres ]; 49 + platforms = platforms.linux; 51 50 }; 52 51 }
+1 -2
pkgs/applications/virtualization/8086tiny/default.nix
··· 1 1 { stdenv, fetchurl 2 2 , localBios ? true, nasm ? null 3 - , sdlSupport ? true, SDL ? null 4 - }: 3 + , sdlSupport ? true, SDL ? null }: 5 4 6 5 assert sdlSupport -> (SDL != null); 7 6
+10 -7
pkgs/applications/virtualization/bochs/default.nix
··· 5 5 , termSupport ? true , ncurses ? null, readline ? null 6 6 , wxSupport ? false, wxGTK ? null 7 7 , wgetSupport ? false, wget ? null 8 - , curlSupport ? false, curl ? null 9 - }: 8 + , curlSupport ? false, curl ? null }: 10 9 11 10 assert sdlSupport -> (SDL != null); 12 11 assert termSupport -> (ncurses != null&& readline != null); ··· 52 51 53 52 NIX_CFLAGS_COMPILE="-I${gtk}/include/gtk-2.0/"; 54 53 55 - meta = { 54 + meta = with stdenv.lib; { 56 55 description = "An open-source IA-32 (x86) PC emulator"; 57 56 longDescription = '' 58 - Bochs is an open-source (LGPL), highly portable IA-32 PC emulator, written in C++, that runs on most popular platforms. It includes emulation of the Intel x86 CPU, common I/O devices, and a custom BIOS. 57 + Bochs is an open-source (LGPL), highly portable IA-32 PC emulator, 58 + written in C++, that runs on most popular platforms. It includes 59 + emulation of the Intel x86 CPU, common I/O devices, and a custom 60 + BIOS. 59 61 ''; 60 62 homepage = http://bochs.sourceforge.net/; 61 - license = stdenv.lib.licenses.lgpl2Plus; 62 - maintainers = [ stdenv.lib.maintainers.AndersonTorres ]; 63 - platforms = stdenv.lib.platforms.linux; 63 + license = licenses.lgpl2Plus; 64 + maintainers = [ maintainers.AndersonTorres ]; 65 + platforms = platforms.linux; 64 66 }; 65 67 } 68 + 66 69 # TODO: study config.bochs.* implementation (like config.ffmpeg.* options)
+10 -9
pkgs/applications/window-managers/fluxbox/default.nix
··· 2 2 , freetype, fribidi 3 3 , libXext, libXft, libXpm, libXrandr, libXrender, xextproto 4 4 , libXinerama 5 - , imlib2 6 - }: 5 + , imlib2 }: 7 6 8 7 stdenv.mkDerivation rec { 9 8 ··· 17 16 sha256 = "164dd7bf59791d09a1e729a4fcd5e7347a1004ba675629860a5cf1a271c32983"; 18 17 }; 19 18 20 - meta = { 19 + meta = with stdenv.lib; { 21 20 description = "Full-featured, light-resource X window manager"; 22 21 longDescription = '' 23 - Fluxbox is a X window manager based on Blackbox 0.61.1 window manager sources. 24 - It is very light on resources and easy to handle but yet full of features to make an easy, 25 - and extremely fast, desktop experience. It is written in C++ and licensed under MIT license. 22 + Fluxbox is a X window manager based on Blackbox 0.61.1 window 23 + manager sources. It is very light on resources and easy to 24 + handle but yet full of features to make an easy, and extremely 25 + fast, desktop experience. It is written in C++ and licensed 26 + under MIT license. 26 27 ''; 27 28 homepage = http://fluxbox.org/; 28 - license = stdenv.lib.licenses.mit; 29 - maintainers = [ stdenv.lib.maintainers.AndersonTorres ]; 30 - platforms = stdenv.lib.platforms.linux; 29 + license = licenses.mit; 30 + maintainers = [ maintainers.AndersonTorres ]; 31 + platforms = platforms.linux; 31 32 }; 32 33 } 33 34 # Many thanks Jack Ryan from Nix-dev mailing list!
+1 -2
pkgs/development/libraries/cimg/default.nix
··· 1 1 { stdenv, fetchurl 2 - , unzip 3 - }: 2 + , unzip }: 4 3 5 4 stdenv.mkDerivation rec { 6 5
+5 -5
pkgs/development/libraries/sword/default.nix
··· 1 - {stdenv, fetchurl, pkgconfig, icu, clucene_core, curl}: 1 + { stdenv, fetchurl, pkgconfig, icu, clucene_core, curl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 ··· 19 19 20 20 configureFlags = "--without-conf --enable-tests=no CXXFLAGS=-Wno-unused-but-set-variable"; 21 21 22 - meta = { 22 + meta = with stdenv.lib; { 23 23 description = "A software framework that allows research manipulation of Biblical texts"; 24 24 homepage = http://www.crosswire.org/sword/; 25 - platforms = stdenv.lib.platforms.linux; 26 - license = stdenv.lib.licenses.gpl2; 27 - maintainers = [ stdenv.lib.maintainers.piotr stdenv.lib.maintainers.AndersonTorres ]; 25 + platforms = platforms.linux; 26 + license = licenses.gpl2; 27 + maintainers = [ maintainers.piotr maintainers.AndersonTorres ]; 28 28 }; 29 29 30 30 }
+5 -6
pkgs/misc/emulators/mednafen/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig 2 2 , libX11, mesa, freeglut 3 3 , jack2, libcdio, libsndfile, libsamplerate 4 - , SDL, SDL_net, zlib 5 - }: 4 + , SDL, SDL_net, zlib }: 6 5 7 6 stdenv.mkDerivation rec { 8 7 ··· 25 24 install -m 644 -t $out/share/doc/$name *.css *.def *.html *.php *.png *.txt 26 25 ''; 27 26 28 - meta = { 27 + meta = with stdenv.lib; { 29 28 description = "A portable, CLI-driven, SDL+OpenGL-based, multi-system emulator"; 30 29 homepage = http://mednafen.sourceforge.net/; 31 - license = stdenv.lib.licenses.gpl2; 32 - maintainers = [ stdenv.lib.maintainers.AndersonTorres ]; 33 - platforms = stdenv.lib.platforms.linux; 30 + license = licenses.gpl2; 31 + maintainers = [ maintainers.AndersonTorres ]; 32 + platforms = platforms.linux; 34 33 }; 35 34 }
+4 -4
pkgs/misc/emulators/mednafen/server.nix
··· 15 15 install -m 644 -t $out/share/$name standard.conf 16 16 ''; 17 17 18 - meta = { 18 + meta = with stdenv.lib; { 19 19 description = "Netplay server for Mednafen"; 20 20 homepage = http://mednafen.sourceforge.net/; 21 - license = stdenv.lib.licenses.gpl2; 22 - maintainers = [ stdenv.lib.maintainers.AndersonTorres ]; 23 - platforms = stdenv.lib.platforms.linux; 21 + license = licenses.gpl2; 22 + maintainers = [ maintainers.AndersonTorres ]; 23 + platforms = platforms.linux; 24 24 }; 25 25 }
+2 -3
pkgs/misc/emulators/stella/default.nix
··· 1 - { stdenv, fetchurl 2 - , pkgconfig, SDL2 3 - }: 1 + { stdenv, fetchurl, pkgconfig 2 + , SDL2 }: 4 3 5 4 stdenv.mkDerivation rec { 6 5