mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
28 lines
743 B
Nix
28 lines
743 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "go-bindata";
|
|
version = "4.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kevinburke";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-3/1RqJrv1fsPKsZpurp2dHsMg8FJBcFlI/pwwCf5H6E=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
subPackages = [ "go-bindata" ];
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/kevinburke/go-bindata";
|
|
changelog = "https://github.com/kevinburke/go-bindata/blob/v${version}/CHANGELOG.md";
|
|
description = "Small utility which generates Go code from any file, useful for embedding binary data in a Go program";
|
|
mainProgram = "go-bindata";
|
|
maintainers = [ ];
|
|
license = licenses.cc0;
|
|
};
|
|
}
|