cb2bib: wrap correctly

This commit is contained in:
K900 2022-11-26 16:15:36 +03:00 committed by Rick van Schijndel
parent 4c8fc6747c
commit 1be86c6823

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, qmake, qtbase, qtwebkit, qtx11extras, lzo, libX11 }:
{ lib, stdenv, fetchurl, qmake, qtbase, qtwebkit, qtx11extras, lzo, libX11, wrapQtAppsHook }:
stdenv.mkDerivation rec {
pname = "cb2bib";
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "0gv7cnxi84lr6d5y71pd67h0ilmf5c88j1jxgyn9dvj19smrv99h";
};
buildInputs = [ qtbase qtwebkit qtx11extras lzo libX11 ];
nativeBuildInputs = [ qmake ];
nativeBuildInputs = [ qmake wrapQtAppsHook ];
configurePhase = ''
runHook preConfigure
@ -16,8 +16,6 @@ stdenv.mkDerivation rec {
runHook postConfigure
'';
dontWrapQtApps = true;
meta = with lib; {
description = "Rapidly extract unformatted, or unstandardized bibliographic references from email alerts, journal Web pages and PDF files";
homepage = "http://www.molspaces.com/d_cb2bib-overview.php";