nixpkgs/pkgs/tools/misc/go.rice/default.nix
2022-04-07 09:46:33 -03:00

25 lines
667 B
Nix

{ 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 ];
};
}