nixpkgs/pkgs/tools/misc/go.rice/default.nix
Fabián Heredia Montiel ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00

25 lines
691 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=";
};
vendorHash = "sha256-VlpdZcqg7yWUADN8oD/IAgAXVdzJeIeymx2Pu/7E21o=";
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";
license = licenses.bsd2;
maintainers = with maintainers; [ blaggacao ];
mainProgram = "rice";
};
}