nixpkgs/pkgs/tools/misc/go.rice/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
691 B
Nix
Raw Normal View History

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