mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
26 lines
693 B
Nix
26 lines
693 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=";
|
|
};
|
|
|
|
vendorSha256 = "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";
|
|
};
|
|
}
|