mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 18:34:41 +00:00
27 lines
713 B
Nix
27 lines
713 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "cod";
|
|
version = "unstable-2020-09-10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dim-an";
|
|
repo = pname;
|
|
rev = "ae68da08339471dd278d6df79abbfd6fe89a10fe";
|
|
sha256 = "1l3gn9v8dcy72f5xq9hwbkvkis0vp4dp8qyinsrii3acmhksg9v6";
|
|
};
|
|
|
|
vendorSha256 = "1arllkiz1hk12hq5b2zpg3f8i9lxl66mil5sdv8gnhflmb37vbv3";
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.GitSha=${src.rev}" ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Tool for generating Bash/Zsh autocompletions based on `--help` output";
|
|
homepage = src.meta.homepage;
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|