summary refs log tree commit diff
path: root/pkgs/development/tools/mustache-go/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/mustache-go/default.nix')
-rw-r--r--pkgs/development/tools/mustache-go/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/tools/mustache-go/default.nix b/pkgs/development/tools/mustache-go/default.nix
new file mode 100644
index 00000000000..0b060624de3
--- /dev/null
+++ b/pkgs/development/tools/mustache-go/default.nix
@@ -0,0 +1,22 @@
+{ 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 ];
+  };
+}