mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 15:37:47 +03:00
lyx: 2.3.7-1 -> 2.4.1
This commit is contained in:
parent
5698911fb6
commit
130e9b54f4
@ -13,20 +13,14 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
version = "2.3.7-1";
|
version = "2.4.1";
|
||||||
pname = "lyx";
|
pname = "lyx";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/${pname}-${version}.tar.xz";
|
url = "ftp://ftp.lyx.org/pub/lyx/stable/2.4.x/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-Ob6IZPuGs06IMQ5w+4Dl6eKWYB8IVs8WGqCUFxcY2O0=";
|
hash = "sha256-dN4ooH7zeqlHG8mWLbGCFSolMQx9H0f2drubxj2XE8U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Needed with GCC 12
|
|
||||||
postPatch = ''
|
|
||||||
sed '1i#include <iterator>' -i src/lyxfind.cpp
|
|
||||||
sed '1i#include <cstring>' -i src/insets/InsetListings.cpp
|
|
||||||
'';
|
|
||||||
|
|
||||||
# LaTeX is used from $PATH, as people often want to have it with extra pkgs
|
# LaTeX is used from $PATH, as people often want to have it with extra pkgs
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
|
Loading…
Reference in New Issue
Block a user