xournalpp: 1.2.2 → 1.2.3

This commit is contained in:
Nikolay Korotkiy 2024-03-02 14:51:19 +04:00 committed by Bjørn Forsman
parent 3f066570e6
commit ec30688223

View File

@ -7,6 +7,7 @@
, pkg-config
, alsa-lib
, binutils
, glib
, gsettings-desktop-schemas
, gtk3
@ -25,16 +26,22 @@
stdenv.mkDerivation rec {
pname = "xournalpp";
version = "1.2.2";
version = "1.2.3";
src = fetchFromGitHub {
owner = "xournalpp";
repo = pname;
repo = "xournalpp";
rev = "v${version}";
sha256 = "sha256-6ND0Y+TzdN2rRI10cusgSK1sYMC55Wn5qFCHP4hsdes=";
sha256 = "sha256-8UAAX/kixqiY9zEYs5eva0G2K2vlfnYd1yyVHMSfSeY=";
};
postPatch = ''
substituteInPlace src/util/Stacktrace.cpp \
--replace-fail "addr2line" "${binutils}/bin/addr2line"
'';
nativeBuildInputs = [ cmake gettext pkg-config wrapGAppsHook ];
buildInputs =
lib.optionals stdenv.isLinux [
alsa-lib
@ -56,8 +63,6 @@ stdenv.mkDerivation rec {
buildFlags = [ "translations" ];
hardeningDisable = [ "format" ];
meta = with lib; {
description = "Xournal++ is a handwriting Notetaking software with PDF annotation support";
homepage = "https://xournalpp.github.io/";
@ -65,5 +70,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Plus;
maintainers = with maintainers; [ andrew-d sikmir ];
platforms = platforms.unix;
mainProgram = "xournalpp";
};
}