3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/office/kbibtex/default.nix
Thomas Tuegel c0d5cd0ff9 poppler: fix build of Qt 4 and Qt 5 wrappers
The autoconf build system for poppler does not support building the
wrappers separately, so this slightly enlarges the size of closures. To
compensate, the command-line utilities have been separated into their
own package.
2015-04-02 09:51:44 -05:00

19 lines
485 B
Nix

{ stdenv, fetchurl, kdelibs, libxslt, poppler_qt4 }:
stdenv.mkDerivation rec {
pname = "kbibtex";
version = "0.4";
name = "${pname}-${version}";
src = fetchurl {
url = "http://download.gna.org/${pname}/${version}/${name}.tar.bz2";
sha256 = "1hq0az0dp96195z26wjfwj9ynd57pfv13f1xcl5vbsswcjfrczws";
};
patchPhase = ''
sed -e '25i#include <QModelIndex>' -i src/gui/preferences/settingsabstractwidget.h
'';
buildInputs = [ kdelibs libxslt poppler_qt4 ];
}