2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
2022-04-15 01:41:22 +00:00
|
|
|
pname = "go-rice";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "1.0.2";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GeertJohan";
|
|
|
|
repo = "go.rice";
|
|
|
|
rev = "v${version}";
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "sha256-jO4otde/m52L2NrE88aXRjdGDBNxnbP1Zt+5fEqfNIc=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
vendorSha256 = "sha256-VlpdZcqg7yWUADN8oD/IAgAXVdzJeIeymx2Pu/7E21o=";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
subPackages = [ "." "rice" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "A Go package that makes working with resources such as html, js, css, images, templates very easy";
|
2022-05-18 14:49:53 +00:00
|
|
|
homepage = "https://github.com/GeertJohan/go.rice";
|
2020-08-20 17:08:02 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ blaggacao ];
|
2022-05-18 14:49:53 +00:00
|
|
|
mainProgram = "rice";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
}
|