From c989dd512e92238dc14405d85b5d6fd2dd0b9c65 Mon Sep 17 00:00:00 2001 From: Okina Matara Date: Thu, 17 May 2018 18:52:24 -0500 Subject: [PATCH] quicktemplate: init at git-2018-04-30 --- .../tools/quicktemplate/default.nix | 26 +++++++++++++++++++ pkgs/development/tools/quicktemplate/deps.nix | 12 +++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 40 insertions(+) create mode 100644 pkgs/development/tools/quicktemplate/default.nix create mode 100644 pkgs/development/tools/quicktemplate/deps.nix diff --git a/pkgs/development/tools/quicktemplate/default.nix b/pkgs/development/tools/quicktemplate/default.nix new file mode 100644 index 000000000000..614ffe5e218d --- /dev/null +++ b/pkgs/development/tools/quicktemplate/default.nix @@ -0,0 +1,26 @@ +# This file was generated by https://github.com/kamilchm/go2nix v1.2.1 +{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: + +buildGoPackage rec { + name = "quicktemplate-unstable-${version}"; + version = "2018-04-30"; + rev = "a91e0946457b6583004fbfc159339b8171423aed"; + + goPackagePath = "github.com/valyala/quicktemplate"; + + src = fetchgit { + inherit rev; + url = "https://github.com/valyala/quicktemplate"; + sha256 = "1z89ang5pkq5qs5b2nwhzyrw0zjlsas539l9kix374fhka49n8yc"; + }; + + goDeps = ./deps.nix; + + meta = with stdenv.lib; { + homepage = "https://github.com/valyala/quicktemplate"; + description = "Fast, powerful, yet easy to use template engine for Go"; + license = licenses.mit; + maintainers = with maintainers; [ chiiruno ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/development/tools/quicktemplate/deps.nix b/pkgs/development/tools/quicktemplate/deps.nix new file mode 100644 index 000000000000..11a65c415c69 --- /dev/null +++ b/pkgs/development/tools/quicktemplate/deps.nix @@ -0,0 +1,12 @@ +# This file was generated by https://github.com/kamilchm/go2nix v1.2.1 +[ + { + goPackagePath = "github.com/valyala/bytebufferpool"; + fetch = { + type = "git"; + url = "https://github.com/valyala/bytebufferpool"; + rev = "e746df99fe4a3986f4d4f79e13c1e0117ce9c2f7"; + sha256 = "01lqzjddq6kz9v41nkky7wbgk7f1cw036sa7ldz10d82g5klzl93"; + }; + } +] diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1201dc6016e7..a8a0e0f1d233 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13978,6 +13978,8 @@ with pkgs; gotests = callPackage ../development/tools/gotests { }; + quicktemplate = callPackage ../development/tools/quicktemplate { }; + gogoclient = callPackage ../os-specific/linux/gogoclient { }; linux-pam = callPackage ../os-specific/linux/pam { };