mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
f8c4a98e8e
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
36 lines
878 B
Nix
36 lines
878 B
Nix
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "antibody";
|
|
version = "6.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "getantibody";
|
|
repo = "antibody";
|
|
rev = "v${version}";
|
|
hash = "sha256-If7XAwtg1WqkDkrJ6qYED+DjwHWloPu3P7X9rUd5ikU=";
|
|
};
|
|
|
|
vendorHash = "sha256-0m+yDo+AMX5tZfOsjsZgulyjB9mVEjy2RfA2sYeqDn0=";
|
|
|
|
doCheck = false;
|
|
|
|
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
|
|
|
meta = with lib; {
|
|
description = "Fastest shell plugin manager";
|
|
mainProgram = "antibody";
|
|
homepage = "https://github.com/getantibody/antibody";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
|
|
|
# golang.org/x/sys needs to be updated due to:
|
|
#
|
|
# https://github.com/golang/go/issues/49219
|
|
#
|
|
# but this package is no longer maintained.
|
|
#
|
|
broken = stdenv.isDarwin;
|
|
};
|
|
}
|