diff options
author | David Arnold <dar@xoe.solutions> | 2020-07-29 10:13:01 -0500 |
---|---|---|
committer | David Arnold <dar@xoe.solutions> | 2020-07-31 00:46:52 -0500 |
commit | ab1f69b099d71158336b3151256d3fc5f85673da (patch) | |
tree | df7266b2fdcea84d6c792e0ead30cbf28ec9c66e /pkgs/tools/misc/go.rice | |
parent | c2618fc055b2ab28fb465fb43af31a3e8fee7cb8 (diff) |
init: go-rice at 1.0.0
Diffstat (limited to 'pkgs/tools/misc/go.rice')
-rw-r--r-- | pkgs/tools/misc/go.rice/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/misc/go.rice/default.nix b/pkgs/tools/misc/go.rice/default.nix new file mode 100644 index 0000000000000..3f5f4782477ea --- /dev/null +++ b/pkgs/tools/misc/go.rice/default.nix @@ -0,0 +1,25 @@ +{ stdenv, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "go.rice"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "GeertJohan"; + repo = "go.rice"; + rev = "v${version}"; + sha256 = "0m1pkqnx9glf3mlx5jdaby9yxccbl02jpjgpi4m7x1hb4s2gn6vx"; + }; + + vendorSha256 = "0cb5phyl2zm1xnkhvisv0lzgknsi93yzmpayg30w7jc6z4icwnw7"; + + subPackages = [ "." "rice" ]; + + meta = with stdenv.lib; { + homepage = "https://github.com/GeertJohan/go.rice"; + description = "A Go package that makes working with resources such as html, js, css, images, templates very easy."; + license = licenses.bsd2; + maintainers = with maintainers; [ blaggacao ]; + }; +} + |