mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
ff323ed355
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
26 lines
691 B
Nix
26 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";
|
|
};
|
|
}
|