depot/third_party/nixpkgs/pkgs/development/tools/go-bindata/default.nix

26 lines
750 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "go-bindata";
version = "3.24.0";
goPackagePath = "github.com/kevinburke/go-bindata";
src = fetchFromGitHub {
owner = "kevinburke";
repo = pname;
rev = "v${version}";
sha256 = "sha256-dEfD5oV2nXLVg+a7PlB6LqhEBosG7eTptqKKDWcQAss=";
};
subPackages = [ "go-bindata" ];
meta = with lib; {
homepage = "https://github.com/kevinburke/go-bindata";
changelog = "https://github.com/kevinburke/go-bindata/blob/v${version}/CHANGELOG.md";
description = "A small utility which generates Go code from any file, useful for embedding binary data in a Go program";
maintainers = with maintainers; [ cstrahan ];
license = licenses.cc0;
};
}