forked from mirrors/nixpkgs
mmark: init at 1.3.6
This commit is contained in:
parent
5ca797c72c
commit
c99a2da0bf
26
pkgs/tools/typesetting/mmark/default.nix
Normal file
26
pkgs/tools/typesetting/mmark/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
12
pkgs/tools/typesetting/mmark/deps.nix
Normal file
12
pkgs/tools/typesetting/mmark/deps.nix
Normal file
|
@ -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";
|
||||
};
|
||||
}
|
||||
]
|
|
@ -20993,4 +20993,6 @@ with pkgs;
|
|||
diceware = callPackage ../tools/security/diceware { };
|
||||
|
||||
xml2rfc = callPackage ../tools/typesetting/xml2rfc { };
|
||||
|
||||
mmark = callPackage ../tools/typesetting/mmark { };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue