diff --git a/pkgs/applications/misc/lyx/default.nix b/pkgs/applications/misc/lyx/default.nix index 64ff3142ef17..4358c3fe6e75 100644 --- a/pkgs/applications/misc/lyx/default.nix +++ b/pkgs/applications/misc/lyx/default.nix @@ -4,25 +4,21 @@ }: stdenv.mkDerivation rec { - version = "2.0.0"; + version = "2.0.3"; name = "lyx-${version}"; src = fetchurl { url = "ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/${name}.tar.xz"; - sha256 = "a790951d6ed660b254e82d682b478665f119dd522ab4759fdeb5cd8d42f66f61"; + sha256 = "1j2sl22w41h4vrgnxv2n0s7d11k6zchjbggjw3ai9yxcahvrj72f"; }; buildInputs = [texLive qt python makeWrapper pkgconfig ]; - # don't ask me why it can't find libX11.so.6 - postInstall = '' - wrapProgram $out/bin/lyx \ - --prefix LD_LIBRARY_PATH ":" ${libX11}/lib - ''; - - meta = { - description = "WYSIWYM frontend for LaTeX, DocBook, etc."; - homepage = "http://www.lyx.org"; - license = "GPL2"; + meta = { + description = "WYSIWYM frontend for LaTeX, DocBook, etc."; + homepage = "http://www.lyx.org"; + license = "GPL2"; + maintainers = [ stdenv.lib.maintainers.neznalek ]; + platforms = stdenv.lib.platforms.linux; }; }