about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorMGlolenstine <mglolenstine@gmail.com>2022-09-11 09:43:16 +0200
committerMGlolenstine <mglolenstine@gmail.com>2022-09-11 09:43:16 +0200
commit141b733bf0a3214ff6d6d0f3e87198d9754dc31d (patch)
tree9bfed8f69ffbbe2df66dc36cdaeb60d96210e962 /pkgs/applications/graphics
parent9c98130a0a29da4652d0b7957c0f558e7cb4d494 (diff)
pizarra: init at 1.7.3
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/pizarra/default.nix49
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/pizarra/default.nix b/pkgs/applications/graphics/pizarra/default.nix
new file mode 100644
index 0000000000000..6a288bd3bea98
--- /dev/null
+++ b/pkgs/applications/graphics/pizarra/default.nix
@@ -0,0 +1,49 @@
+{ lib
+, fetchFromGitLab
+, rustPlatform
+, cargo
+, pkg-config
+, binutils-unwrapped
+, gtk3-x11
+, atk
+, glib
+, librsvg
+, gdk-pixbuf
+, wrapGAppsHook
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "pizarra";
+  version = "1.7.3";
+
+  src = fetchFromGitLab {
+    owner = "categulario";
+    repo = "pizarra-gtk";
+    rev = "v${version}";
+    fetchSubmodules = true;
+    sha256 = "sha256-XP+P2w6s47JQV4spKeMKe/Ktxid7uokGYH4IEJ5VHSc=";
+  };
+
+  cargoSha256 = "sha256-JQZ/95tRlmsrb0EJaPlE8G0fMSeEgLnDi3pkLjcJz/o=";
+
+  nativeBuildInputs = [ wrapGAppsHook pkg-config gdk-pixbuf ];
+
+  buildInputs = [ gtk3-x11 atk glib librsvg ];
+
+  meta = with lib; {
+    description = "A simple blackboard written in GTK";
+    longDescription = ''
+      A simple endless blackboard.
+      Contains various features, such as:
+      - Pencil
+      - Rectangle
+      - Ellipse
+      - Line
+      - Text
+      - Grids
+    '';
+    homepage = "https://pizarra.categulario.tk/en/";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ mglolenstine ];
+  };
+}