mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
xournalpp: 1.2.2 → 1.2.3
This commit is contained in:
parent
3f066570e6
commit
ec30688223
1 changed files with 11 additions and 5 deletions
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue