summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-03-18 11:39:54 +0000
committerGitHub <noreply@github.com>2018-03-18 11:39:54 +0000
commit3dbf7a4418b87319886c6898cc66016e053b6ad2 (patch)
tree4e4794e68340fda847c1c010cf0bcad73f4e5a5d
parentcaaae34ee10eae03bd79894196365fdb2dcca12a (diff)
parentc99a2da0bfbd058676e97b77e188d6fdfb724393 (diff)
downloadnixlib-3dbf7a4418b87319886c6898cc66016e053b6ad2.tar
nixlib-3dbf7a4418b87319886c6898cc66016e053b6ad2.tar.gz
nixlib-3dbf7a4418b87319886c6898cc66016e053b6ad2.tar.bz2
nixlib-3dbf7a4418b87319886c6898cc66016e053b6ad2.tar.lz
nixlib-3dbf7a4418b87319886c6898cc66016e053b6ad2.tar.xz
nixlib-3dbf7a4418b87319886c6898cc66016e053b6ad2.tar.zst
nixlib-3dbf7a4418b87319886c6898cc66016e053b6ad2.zip
Merge pull request #37211 from yrashk/mmark
mmark: init at 1.3.6
-rw-r--r--pkgs/tools/typesetting/mmark/default.nix26
-rw-r--r--pkgs/tools/typesetting/mmark/deps.nix12
-rw-r--r--pkgs/top-level/all-packages.nix2
3 files changed, 40 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";
+    };
+  }
+]
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 09c32fa5c332..0676d59d25a3 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -20998,4 +20998,6 @@ with pkgs;
   diceware = callPackage ../tools/security/diceware { };
 
   xml2rfc = callPackage ../tools/typesetting/xml2rfc { };
+
+  mmark = callPackage ../tools/typesetting/mmark { };
 }