1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/applications/office/kbibtex/default.nix
Yury G. Kudryashov f6e6e4287d Add kbibtex
svn path=/nixpkgs/trunk/; revision=34404
2012-06-09 13:09:45 +00:00

19 lines
483 B
Nix

{ stdenv, fetchurl, kdelibs, libxslt, popplerQt4 }:
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 popplerQt4 ];
}