summary refs log tree commit diff
path: root/pkgs/tools/misc/go.rice/default.nix
blob: 771f3493157c7862d012690c57313e7f2865de7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "go-rice";
  version = "1.0.2";

  src = fetchFromGitHub {
    owner = "GeertJohan";
    repo = "go.rice";
    rev = "v${version}";
    sha256 = "sha256-jO4otde/m52L2NrE88aXRjdGDBNxnbP1Zt+5fEqfNIc=";
  };

  vendorSha256 = "sha256-VlpdZcqg7yWUADN8oD/IAgAXVdzJeIeymx2Pu/7E21o=";

  subPackages = [ "." "rice" ];

  meta = with 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 ];
  };
}