summary refs log tree commit diff
path: root/pkgs/applications/editors/marker
diff options
context:
space:
mode:
authorTom Repetti <trepetti@cs.columbia.edu>2020-10-15 18:25:19 -0400
committerTom Repetti <trepetti@cs.columbia.edu>2020-10-28 23:01:47 -0400
commit7559a99131a41d23bc084863ef026e18547ac9df (patch)
tree86b403e8fef68d606b0f3e92ffbf46645c2eda8d /pkgs/applications/editors/marker
parent02e2b63aa2ad8d8c49b90d253eb62235006047ef (diff)
downloadnixpkgs-7559a99131a41d23bc084863ef026e18547ac9df.tar
nixpkgs-7559a99131a41d23bc084863ef026e18547ac9df.tar.gz
nixpkgs-7559a99131a41d23bc084863ef026e18547ac9df.tar.bz2
nixpkgs-7559a99131a41d23bc084863ef026e18547ac9df.tar.lz
nixpkgs-7559a99131a41d23bc084863ef026e18547ac9df.tar.xz
nixpkgs-7559a99131a41d23bc084863ef026e18547ac9df.tar.zst
nixpkgs-7559a99131a41d23bc084863ef026e18547ac9df.zip
marker: init at 2020.04.04
Diffstat (limited to 'pkgs/applications/editors/marker')
-rw-r--r--pkgs/applications/editors/marker/default.nix49
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/applications/editors/marker/default.nix b/pkgs/applications/editors/marker/default.nix
new file mode 100644
index 00000000000..758cb0c30eb
--- /dev/null
+++ b/pkgs/applications/editors/marker/default.nix
@@ -0,0 +1,49 @@
+{ stdenv
+, fetchFromGitHub
+, meson
+, ninja
+, pkg-config
+, wrapGAppsHook
+, gtk3
+, gtksourceview
+, gtkspell3
+, webkitgtk
+, pandoc
+}:
+
+stdenv.mkDerivation rec {
+  pname = "marker";
+  version = "2020.04.04";
+
+  src = fetchFromGitHub {
+    owner = "fabiocolacio";
+    repo = "Marker";
+    rev = "${version}";
+    fetchSubmodules = true;
+    sha256 = "1iy7izyprf050bix8am1krqivgyxnhx3jm775v8f80cgbqxy7m5r";
+  };
+
+  nativeBuildInputs = [
+    meson
+    ninja
+    pkg-config
+    wrapGAppsHook
+  ];
+
+  buildInputs = [
+    gtk3
+    gtksourceview
+    gtkspell3
+    webkitgtk
+    pandoc
+  ];
+
+  meta = with stdenv.lib; {
+    homepage = "https://fabiocolacio.github.io/Marker/";
+    description = "Markdown editor for the Linux desktop";
+    maintainers = with maintainers; [ trepetti ];
+    license = licenses.gpl3Plus;
+    platforms = platforms.linux;
+    changelog = "https://github.com/fabiocolacio/Marker/releases/tag/${version}";
+  };
+}