about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/go-bindata-assetfs/default.nix
blob: 02188707760214b986e8b4e6abfcdfdf3ea96164 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "go-bindata-assetfs";
  version = "unstable-2022-04-12";

  src = fetchFromGitHub {
    owner = "elazarl";
    repo = "go-bindata-assetfs";
    rev = "de3be3ce9537d87338bf26ac211d02d4fa568bb8";
    hash = "sha256-yQgIaTl06nmIu8BfmQzrvEnlPQ2GQ/2nnvTmYXCL1oI=";
  };

  vendorHash = null;

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "Serve embedded files from jteeuwen/go-bindata";
    mainProgram = "go-bindata-assetfs";
    license = licenses.bsd2;
    maintainers = with maintainers; [ avnik ];
  };
}