2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-07-29 17:13:01 +02:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "go.rice";
|
2021-06-17 15:50:08 +02:00
|
|
|
version = "1.0.2";
|
2020-07-29 17:13:01 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GeertJohan";
|
|
|
|
repo = "go.rice";
|
|
|
|
rev = "v${version}";
|
2021-06-17 15:50:08 +02:00
|
|
|
sha256 = "sha256-jO4otde/m52L2NrE88aXRjdGDBNxnbP1Zt+5fEqfNIc=";
|
2020-07-29 17:13:01 +02:00
|
|
|
};
|
|
|
|
|
2021-06-17 15:50:08 +02:00
|
|
|
vendorSha256 = "sha256-VlpdZcqg7yWUADN8oD/IAgAXVdzJeIeymx2Pu/7E21o=";
|
2020-07-29 17:13:01 +02:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-07-29 17:13:01 +02:00
|
|
|
subPackages = [ "." "rice" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-07-29 17:13:01 +02:00
|
|
|
homepage = "https://github.com/GeertJohan/go.rice";
|
2020-10-11 07:55:05 +02:00
|
|
|
description = "A Go package that makes working with resources such as html, js, css, images, templates very easy";
|
2020-07-29 17:13:01 +02:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ blaggacao ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|