Merge pull request #239050 from figsoda/src

src-cli: 5.0.3 -> 5.1.0
This commit is contained in:
Felix Bühler 2023-06-22 20:05:42 +02:00 committed by GitHub
commit 07b12743c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,27 +1,36 @@
{ lib
, buildGoModule
, fetchFromGitHub
, stdenv
, xorg
, darwin
, testers
, src-cli
}:
buildGoModule rec {
pname = "src-cli";
version = "5.0.3";
version = "5.1.0";
src = fetchFromGitHub {
owner = "sourcegraph";
repo = "src-cli";
rev = version;
hash = "sha256-KqCH4f9QPfr/Hm4phR9qeCV925RkOawGnbCx8wz/QwE=";
hash = "sha256-sN6Ea1kJce8Jqy8YrkWzDrQDrmA8F+UYz7ZuqfdbnJ4=";
};
vendorHash = "sha256-NMLrBYGscZexnR43I4Ku9aqzJr38z2QAnZo0RouHFrc=";
vendorHash = "sha256-A533f+FfEzU2TlNwHkD8gjeQYRATz85cCCmqLdl9290=";
subPackages = [
"cmd/src"
];
buildInputs = lib.optionals stdenv.isLinux [
xorg.libX11
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Cocoa
];
ldflags = [
"-s"
"-w"