btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / go / go-rice / package.nix
blob4c3fd6ef4c06833c77f8924795658ae73282da5b
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "go-rice";
5   version = "1.0.2";
7   src = fetchFromGitHub {
8     owner = "GeertJohan";
9     repo = "go.rice";
10     rev = "v${version}";
11     sha256 = "sha256-jO4otde/m52L2NrE88aXRjdGDBNxnbP1Zt+5fEqfNIc=";
12   };
14   vendorHash = "sha256-VlpdZcqg7yWUADN8oD/IAgAXVdzJeIeymx2Pu/7E21o=";
16   subPackages = [ "." "rice" ];
18   meta = with lib; {
19     description = "Go package that makes working with resources such as html, js, css, images, templates very easy";
20     homepage = "https://github.com/GeertJohan/go.rice";
21     license = licenses.bsd2;
22     maintainers = with maintainers; [ blaggacao ];
23     mainProgram = "rice";
24   };