25 stdenv.mkDerivation rec {
29 src = fetchFromGitHub {
33 fetchSubmodules = true;
34 hash = "sha256-w4y+t8idcaNwvC2Wp9SRjcd4m23Zt+yHG2fjOA2rBU8=";
37 cargoDeps = rustPlatform.fetchCargoTarball {
39 name = "${pname}-${version}";
40 hash = "sha256-Hybbbokru4vz5ly3oZuNGdBa+lYbhdYjESUpRxIUqJc=";
44 appstream-glib # For appstream-util
47 desktop-file-utils # For update-desktop-database
51 python3 # For the postinstall script
52 rustPlatform.cargoSetupHook
53 rustPlatform.rust.cargo
54 rustPlatform.rust.rustc
55 shared-mime-info # For update-mime-database
59 dontUseCmakeConfigure = true;
72 LIBCLANG_PATH = "${clang.cc.lib}/lib";
76 chmod +x meson_post_install.py
77 patchShebangs meson_post_install.py
78 substituteInPlace meson_post_install.py --replace "gtk-update-icon-cache" "gtk4-update-icon-cache"
83 homepage = "https://github.com/flxzt/rnote";
84 description = "Simple drawing application to create handwritten notes";
85 license = licenses.gpl3Only;
86 maintainers = with maintainers; [ dotlambda yrd ];
87 platforms = platforms.linux;