about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-09-14 02:17:26 +0200
committerGitHub <noreply@github.com>2018-09-14 02:17:26 +0200
commitb3d079f34a3c098c0be69e933147f8a591c83202 (patch)
treedb7d98834e6b3b87f517e181ee73eb6431841708 /pkgs/applications/misc
parent8a0f255cda9c8ee026da922fd994d6cd8b49bfe3 (diff)
parent7d7086cc1d97f83f3c8354c32100b577c00448d1 (diff)
Merge pull request #46365 from worldofpeace/elementary-variety
add various elementary thirdparty applications
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/notejot/default.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/applications/misc/notejot/default.nix b/pkgs/applications/misc/notejot/default.nix
new file mode 100644
index 0000000000000..59ba45e6f376c
--- /dev/null
+++ b/pkgs/applications/misc/notejot/default.nix
@@ -0,0 +1,47 @@
+{ stdenv, fetchFromGitHub, vala, pkgconfig, meson, ninja, python3, granite
+, gtk3, gnome3, gtksourceview, json-glib, gobjectIntrospection, wrapGAppsHook }:
+
+stdenv.mkDerivation rec {
+  pname = "notejot";
+  version = "1.4.5";
+
+  name = "${pname}-${version}";
+
+  src = fetchFromGitHub {
+    owner = "lainsce";
+    repo = pname;
+    rev = version;
+    sha256 = "0mjig4y2rb6v2dyzya44mfz0dxgp5wnjs3kdavf9ha2jzjjr5xyb";
+  };
+
+  nativeBuildInputs = [
+    gobjectIntrospection
+    meson
+    ninja
+    pkgconfig
+    python3
+    vala
+    wrapGAppsHook
+  ];
+
+  buildInputs = [
+    gnome3.libgee
+    granite
+    gtk3
+    gtksourceview
+    json-glib
+  ];
+
+  postPatch = ''
+    chmod +x meson/post_install.py
+    patchShebangs meson/post_install.py
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Stupidly-simple sticky notes applet";
+    homepage    = https://github.com/lainsce/notejot;
+    license     = licenses.gpl2Plus;
+    maintainers = with maintainers; [ worldofpeace ];
+    platforms   = platforms.linux;
+  };
+}