summary refs log tree commit diff
path: root/pkgs/tools/typesetting/mmark
diff options
context:
space:
mode:
authorYurii Rashkovskii <yrashk@gmail.com>2018-03-17 10:38:05 +0700
committerYurii Rashkovskii <yrashk@gmail.com>2018-03-18 17:02:20 +0700
commitc99a2da0bfbd058676e97b77e188d6fdfb724393 (patch)
treef379a4a2ea0919e6b6066d1247fb3ad7a72231d0 /pkgs/tools/typesetting/mmark
parent5ca797c72c6379655c8ac1054032039e5c4b8675 (diff)
downloadnixlib-c99a2da0bfbd058676e97b77e188d6fdfb724393.tar
nixlib-c99a2da0bfbd058676e97b77e188d6fdfb724393.tar.gz
nixlib-c99a2da0bfbd058676e97b77e188d6fdfb724393.tar.bz2
nixlib-c99a2da0bfbd058676e97b77e188d6fdfb724393.tar.lz
nixlib-c99a2da0bfbd058676e97b77e188d6fdfb724393.tar.xz
nixlib-c99a2da0bfbd058676e97b77e188d6fdfb724393.tar.zst
nixlib-c99a2da0bfbd058676e97b77e188d6fdfb724393.zip
mmark: init at 1.3.6
Diffstat (limited to 'pkgs/tools/typesetting/mmark')
-rw-r--r--pkgs/tools/typesetting/mmark/default.nix26
-rw-r--r--pkgs/tools/typesetting/mmark/deps.nix12
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/mmark/default.nix b/pkgs/tools/typesetting/mmark/default.nix
new file mode 100644
index 000000000000..2b7a6f3ffb44
--- /dev/null
+++ b/pkgs/tools/typesetting/mmark/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+  name = "mmark-${version}";
+  version = "1.3.6";
+  rev = "v${version}";
+
+  goPackagePath = "github.com/miekg/mmark";
+
+  src = fetchFromGitHub {
+    inherit rev;
+    owner = "miekg";
+    repo = "mmark";
+    sha256 = "0q2zrwa2vwk7a0zhmi000zpqrc01zssrj9c5n3573rg68fksg77m";
+  };
+
+  goDeps = ./deps.nix;
+
+  meta = {
+    description = "A powerful markdown processor in Go geared towards the IETF";
+    homepage = https://github.com/miekg/mmark;
+    license = with stdenv.lib.licenses; bsd2;
+    maintainers = with stdenv.lib.maintainers; [ yrashk ];
+    platforms = stdenv.lib.platforms.unix;
+  };
+}
diff --git a/pkgs/tools/typesetting/mmark/deps.nix b/pkgs/tools/typesetting/mmark/deps.nix
new file mode 100644
index 000000000000..47f964c6a477
--- /dev/null
+++ b/pkgs/tools/typesetting/mmark/deps.nix
@@ -0,0 +1,12 @@
+# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
+[
+  {
+    goPackagePath = "github.com/BurntSushi/toml";
+    fetch = {
+      type = "git";
+      url = "https://github.com/BurntSushi/toml";
+      rev = "a368813c5e648fee92e5f6c30e3944ff9d5e8895";
+      sha256 = "1sjxs2lwc8jpln80s4rlzp7nprbcljhy5mz4rf9995gq93wqnym5";
+    };
+  }
+]