nixpkgs/pkgs/development/tools/mustache-go/default.nix

23 lines
569 B
Nix
Raw Normal View History

2018-07-31 22:48:54 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "mustache-go-${version}";
version = "1.0.1";
goPackagePath = "github.com/cbroglie/mustache";
src = fetchFromGitHub {
owner = "cbroglie";
repo = "mustache";
rev = "v${version}";
sha256 = "1aywj4fijsv66n6gjiz3l8g1vg0fqzwbf8dcdcgfsvsdb056p90v";
};
meta = with stdenv.lib; {
homepage = https://github.com/cbroglie/mustache;
description = "The mustache template language in Go";
license = [ licenses.mit ];
maintainers = [ maintainers.Zimmi48 ];
};
}