summary refs log tree commit diff
path: root/pkgs/applications/video/aegisub/default.nix
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@gmail.com>2015-04-06 22:57:25 -0300
committerAndersonTorres <torres.anderson.85@gmail.com>2015-04-08 00:51:01 -0300
commit6276a4ace73082b846ac79d88c4901e603b8509b (patch)
treedc42b0b00d3e96b081c5d0de717c9dfcf166221d /pkgs/applications/video/aegisub/default.nix
parent50855c7e379c8664f40b99dfeebf7eb0baefdbe1 (diff)
downloadnixpkgs-6276a4ace73082b846ac79d88c4901e603b8509b.tar
nixpkgs-6276a4ace73082b846ac79d88c4901e603b8509b.tar.gz
nixpkgs-6276a4ace73082b846ac79d88c4901e603b8509b.tar.bz2
nixpkgs-6276a4ace73082b846ac79d88c4901e603b8509b.tar.lz
nixpkgs-6276a4ace73082b846ac79d88c4901e603b8509b.tar.xz
nixpkgs-6276a4ace73082b846ac79d88c4901e603b8509b.tar.zst
nixpkgs-6276a4ace73082b846ac79d88c4901e603b8509b.zip
Aegisub: 3.2.1 -> 3.2.2
Adding config.aegisub.* options
Diffstat (limited to 'pkgs/applications/video/aegisub/default.nix')
-rw-r--r--pkgs/applications/video/aegisub/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/applications/video/aegisub/default.nix b/pkgs/applications/video/aegisub/default.nix
index 9d54ac99273..e7cc9b78195 100644
--- a/pkgs/applications/video/aegisub/default.nix
+++ b/pkgs/applications/video/aegisub/default.nix
@@ -5,34 +5,35 @@
 , libass, fftw, ffms
 , ffmpeg, pkgconfig, zlib # Undocumented (?) dependencies
 , icu, boost, intltool # New dependencies
-, spellChecking ? true, hunspell ? null
+, spellcheckSupport ? true, hunspell ? null
 , automationSupport ? true, lua ? null
 , openalSupport ? false, openal ? null
 , alsaSupport ? true, alsaLib ? null
 , pulseaudioSupport ? true, pulseaudio ? null
 , portaudioSupport ? false, portaudio ? null }:
 
-assert spellChecking -> (hunspell != null);
+assert spellcheckSupport -> (hunspell != null);
 assert automationSupport -> (lua != null);
 assert openalSupport -> (openal != null);
 assert alsaSupport -> (alsaLib != null);
 assert pulseaudioSupport -> (pulseaudio != null);
 assert portaudioSupport -> (portaudio != null);
 
+with stdenv.lib;
 stdenv.mkDerivation rec {
   name = "aegisub-${version}";
-  version = "3.2.1";
+  version = "3.2.2";
 
   src = fetchurl {
     url = "http://ftp.aegisub.org/pub/releases/${name}.tar.xz";
-    sha256 = "1p7qdnxyyyrlpvxdrrp15b5967d7bzpjl3vdy0q66g4aabr2h6ln";
+    sha256 = "11b83qazc8h0iidyj1rprnnjdivj1lpphvpa08y53n42bfa36pn5";
   };
 
   buildInputs = with stdenv.lib;
   [ pkgconfig intltool libX11 wxGTK fontconfig freetype mesa
     libass fftw ffms ffmpeg zlib icu boost boost.lib libiconv
   ]
-    ++ optional spellChecking hunspell
+    ++ optional spellcheckSupport hunspell
     ++ optional automationSupport lua
     ++ optional openalSupport openal
     ++ optional alsaSupport alsaLib
@@ -40,12 +41,11 @@ stdenv.mkDerivation rec {
     ++ optional portaudioSupport portaudio
     ;
 
-
   enableParallelBuilding = true;
 
   postInstall = "ln -s $out/bin/aegisub-* $out/bin/aegisub";
 
-  meta = with stdenv.lib; {
+  meta = {
     description = "An advanced subtitle editor";
     longDescription = ''
       Aegisub is a free, cross-platform open source tool for creating and