mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
2e0589b4ca
Upstream changes to the build system required adjusting many packages' dependencies. On the Nixpkgs side, we no longer propagate the dependency on cmake (to reduce closure size), so downstream dependencies had to be adjusted for most packages that depend on kdelibs.
22 lines
577 B
Nix
22 lines
577 B
Nix
{ stdenv, fetchurl, automoc4, cmake, perl, pkgconfig
|
|
, 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 ];
|
|
nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];
|
|
}
|