xournalpp nightly

This commit is contained in:
Gabriel Ebner 2021-07-11 15:02:12 +02:00
parent fb0c1eaa4a
commit 129850b77a
2 changed files with 69 additions and 5 deletions

View File

@ -13,11 +13,12 @@
goldendict
xournal
(xournalpp.overrideDerivation (_: {
patches = [
./xournalpp-cursor-blink.patch
];
}))
(callPackage ./xournalpp.nix {})
# (xournalpp.overrideDerivation (_: {
# patches = [
# ./xournalpp-cursor-blink.patch
# ];
# }))
vscode

63
xournalpp.nix Normal file
View File

@ -0,0 +1,63 @@
{ lib, stdenv
, fetchFromGitHub
, cmake
, ninja
, gettext
, wrapGAppsHook
, pkg-config
, glib
, gsettings-desktop-schemas
, gtk3
, libsndfile
, libxml2
, libzip
, pcre
, poppler
, portaudio
, zlib
, librsvg
# plugins
, withLua ? true, lua
}:
stdenv.mkDerivation rec {
pname = "xournalpp";
version = "2021-07-10";
src = fetchFromGitHub {
owner = "xournalpp";
repo = pname;
rev = "1a60605e7ccfe1d46162355825dd19f27d931db4";
sha256 = "sha256-l+V/MsqMYmsozUVIuHmYL60QVoH8ADXUR/SJOjh9LTQ=";
};
nativeBuildInputs = [ cmake ninja gettext pkg-config wrapGAppsHook ];
buildInputs =
[ glib
gsettings-desktop-schemas
gtk3
libsndfile
libxml2
libzip
pcre
poppler
portaudio
zlib
librsvg
]
++ lib.optional withLua lua;
buildFlags = "translations";
hardeningDisable = [ "format" ];
meta = with lib; {
description = "Xournal++ is a handwriting Notetaking software with PDF annotation support";
homepage = "https://xournalpp.github.io/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ andrew-d sikmir ];
platforms = platforms.linux;
};
}