summary refs log tree commit diff
path: root/pkgs/applications/editors/texstudio
diff options
context:
space:
mode:
authorChaddaï Fouché <chaddai.fouche@gmail.com>2015-05-05 19:51:28 +0000
committerChaddaï Fouché <chaddai.fouche@gmail.com>2015-05-05 20:04:07 +0000
commit21d57e33c878b7810e98bf804aeb8a16e5ead389 (patch)
tree505fe216e340650dddcfa8119bc14cc3909596e8 /pkgs/applications/editors/texstudio
parent4a9df12721ab354a61f39f93e99c59e7ca2fc3ee (diff)
downloadnixpkgs-21d57e33c878b7810e98bf804aeb8a16e5ead389.tar
nixpkgs-21d57e33c878b7810e98bf804aeb8a16e5ead389.tar.gz
nixpkgs-21d57e33c878b7810e98bf804aeb8a16e5ead389.tar.bz2
nixpkgs-21d57e33c878b7810e98bf804aeb8a16e5ead389.tar.lz
nixpkgs-21d57e33c878b7810e98bf804aeb8a16e5ead389.tar.xz
nixpkgs-21d57e33c878b7810e98bf804aeb8a16e5ead389.tar.zst
nixpkgs-21d57e33c878b7810e98bf804aeb8a16e5ead389.zip
Update of TexStudio from 2.7.0 to 2.9.4
Diffstat (limited to 'pkgs/applications/editors/texstudio')
-rw-r--r--pkgs/applications/editors/texstudio/default.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/applications/editors/texstudio/default.nix b/pkgs/applications/editors/texstudio/default.nix
index 5cb31af797d..4b0cccae364 100644
--- a/pkgs/applications/editors/texstudio/default.nix
+++ b/pkgs/applications/editors/texstudio/default.nix
@@ -1,21 +1,20 @@
-{ stdenv, fetchurl, qt4, poppler_qt4, zlib}:
+{ stdenv, fetchurl, qt4, poppler_qt4, zlib, pkgconfig}:
 
 stdenv.mkDerivation rec {
   pname = "texstudio";
-  version = "2.7.0";
+  version = "2.9.4";
   name = "${pname}-${version}";
   altname="Texstudio";
 
   src = fetchurl {
     url = "mirror://sourceforge/texstudio/${name}.tar.gz";
-    sha256 = "167d78nfk265jjvl129nr70v8ladb2rav2qyhw7ngr6m54gak831";
+    sha256 = "1smmc4xqs8x8qzp6iqj2wr4xarfnxxxp6rq6chx1kb256w75jwfw";
   };
 
-  buildInputs = [ qt4 poppler_qt4 zlib ];
+  buildInputs = [ qt4 poppler_qt4 zlib pkgconfig];
 
   preConfigure = ''
-    export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${poppler_qt4}/include/poppler/qt4) "
-    qmake PREFIX=$out texstudio.pro
+    qmake PREFIX=$out NO_APPDATA=True texstudio.pro
   '';
 
   meta = with stdenv.lib; {