From 30a7d57f6a6a3d3a7775cba2f24a6e98d6022635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yannik=20R=C3=B6del?= Date: Sun, 30 Oct 2022 14:05:42 +0100 Subject: [PATCH] rnote: 0.5.4 -> 0.5.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Robert Schütz --- pkgs/applications/graphics/rnote/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/graphics/rnote/default.nix b/pkgs/applications/graphics/rnote/default.nix index b5964adbbca..eb0eaaeda95 100644 --- a/pkgs/applications/graphics/rnote/default.nix +++ b/pkgs/applications/graphics/rnote/default.nix @@ -3,6 +3,8 @@ , fetchFromGitHub , alsa-lib , appstream-glib +, clang +, cmake , desktop-file-utils , gio-sharp , glib @@ -22,24 +24,26 @@ stdenv.mkDerivation rec { pname = "rnote"; - version = "0.5.4"; + version = "0.5.7"; src = fetchFromGitHub { owner = "flxzt"; repo = "rnote"; rev = "v${version}"; fetchSubmodules = true; - hash = "sha256-CZLZblC10k5ynzDDXi/bOe6Rc6M94eywXjyu0ABOVq4="; + hash = "sha256-w4y+t8idcaNwvC2Wp9SRjcd4m23Zt+yHG2fjOA2rBU8="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - hash = "sha256-Udat35KqrMWR0Ckx34BWoF0HiJHZ5CP2CGFD6FNCWRA="; + hash = "sha256-Hybbbokru4vz5ly3oZuNGdBa+lYbhdYjESUpRxIUqJc="; }; nativeBuildInputs = [ appstream-glib # For appstream-util + clang + cmake desktop-file-utils # For update-desktop-database meson ninja @@ -52,6 +56,8 @@ stdenv.mkDerivation rec { wrapGAppsHook4 ]; + dontUseCmakeConfigure = true; + buildInputs = [ alsa-lib gio-sharp @@ -63,6 +69,8 @@ stdenv.mkDerivation rec { poppler ]; + LIBCLANG_PATH = "${clang.cc.lib}/lib"; + postPatch = '' pushd build-aux chmod +x meson_post_install.py