13 rustPlatform.buildRustPackage rec {
17 src = fetchFromGitLab {
18 owner = "categulario";
21 fetchSubmodules = true;
22 hash = "sha256-vnjhveX3EVIfJLiHWhlvhoPcRx1a8Nnjj7hIaPgU3Zw=";
25 cargoHash = "sha256-btvMUKADGHlXLmeKF1K9Js44SljZ0MejGId8aDwPhVU=";
27 nativeBuildInputs = [ wrapGAppsHook3 pkg-config gdk-pixbuf ];
29 buildInputs = [ gtk3-x11 atk glib librsvg ];
32 install -Dm444 res/icons/tk.categulario.pizarra.svg $out/share/icons/hicolor/scalable/apps/pizarra.svg
33 install -Dm444 res/pizarra.desktop -t $out/share/applications
34 substituteInPlace $out/share/applications/pizarra.desktop \
35 --replace "TryExec=/usr/bin/" "TryExec=" \
36 --replace "Exec=/usr/bin/" "Exec=" \
37 --replace "Icon=/usr/share/icons/hicolor/scalable/apps/pizarra.svg" "Icon=pizarra"
41 description = "Simple blackboard written in GTK";
42 mainProgram = "pizarra";
44 A simple endless blackboard.
45 Contains various features, such as:
53 homepage = "https://pizarra.categulario.xyz/en/";
54 license = licenses.gpl3Plus;
55 maintainers = with maintainers; [ mglolenstine ];