Merge pull request #68592 from mat8913/lyx-wrapQtAppsHook
lyx: use qt5's mkDerivation
This commit is contained in:
commit
4b31dbba5f
@ -1,8 +1,8 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, python, file, bc, fetchpatch
|
{ fetchurl, lib, mkDerivation, pkgconfig, python, file, bc, fetchpatch
|
||||||
, qtbase, qtsvg, hunspell, makeWrapper #, mythes, boost
|
, qtbase, qtsvg, hunspell, makeWrapper #, mythes, boost
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
version = "2.3.0";
|
version = "2.3.0";
|
||||||
pname = "lyx";
|
pname = "lyx";
|
||||||
|
|
||||||
@ -30,10 +30,9 @@ stdenv.mkDerivation rec {
|
|||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
# python is run during runtime to do various tasks
|
# python is run during runtime to do various tasks
|
||||||
postFixup = ''
|
qtWrapperArgs = [
|
||||||
wrapProgram "$out/bin/lyx" \
|
" --prefix PATH : ${python}/bin"
|
||||||
--prefix PATH : '${python}/bin'
|
];
|
||||||
'';
|
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
@ -42,7 +41,7 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
description = "WYSIWYM frontend for LaTeX, DocBook";
|
description = "WYSIWYM frontend for LaTeX, DocBook";
|
||||||
homepage = http://www.lyx.org;
|
homepage = http://www.lyx.org;
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user