mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
mmark: 1.3.6 -> 2.2.25
This commit is contained in:
parent
258637b969
commit
89f390a40b
2 changed files with 14 additions and 23 deletions
|
@ -1,24 +1,27 @@
|
|||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, testers, mmark }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "mmark";
|
||||
version = "1.3.6";
|
||||
rev = "v${version}";
|
||||
|
||||
goPackagePath = "github.com/miekg/mmark";
|
||||
version = "2.2.25";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "miekg";
|
||||
owner = "mmarkdown";
|
||||
repo = "mmark";
|
||||
sha256 = "0q2zrwa2vwk7a0zhmi000zpqrc01zssrj9c5n3573rg68fksg77m";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-9XjNTbsB4kh7YpjUnTzSXypw9r4ZyR7GALTrYebRKAg=";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
vendorSha256 = "sha256-uHphMy9OVnLD6IBqfMTyRlDyyTabzZC4Vn0628P+0F4=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = mmark;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A powerful markdown processor in Go geared towards the IETF";
|
||||
homepage = "https://github.com/miekg/mmark";
|
||||
homepage = "https://github.com/mmarkdown/mmark";
|
||||
license = with lib.licenses; bsd2;
|
||||
maintainers = with lib.maintainers; [ yrashk ];
|
||||
platforms = lib.platforms.unix;
|
||||
|
|
12
pkgs/tools/typesetting/mmark/deps.nix
generated
12
pkgs/tools/typesetting/mmark/deps.nix
generated
|
@ -1,12 +0,0 @@
|
|||
# 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";
|
||||
};
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue