nixpkgs/pkgs/development/tools/sshs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
704 B
Nix
Raw Normal View History

2022-07-10 21:40:31 +02:00
{ lib
, buildGoModule
, fetchFromGitHub
, nix-update-script
}:
buildGoModule rec {
pname = "sshs";
2022-11-07 00:07:56 +01:00
version = "3.4.0";
2022-07-10 21:40:31 +02:00
src = fetchFromGitHub {
owner = "quantumsheep";
repo = pname;
rev = version;
2022-11-07 00:07:56 +01:00
sha256 = "KD971dGm1oQt9GbiUGZm2k4SJrBAA9rnHj7Gu0t3SJw=";
2022-07-10 21:40:31 +02:00
};
2022-11-07 00:07:56 +01:00
vendorSha256 = "OCh37wjSs40Q0VQmoc1nXQ4nWddnoUCrI5xgxpxR/Ec=";
2022-07-10 21:40:31 +02:00
ldflags = [ "-s" "-w" "-X github.com/quantumsheep/sshs/cmd.Version=${version}" ];
passthru.updateScript = nix-update-script { };
2022-07-10 21:40:31 +02:00
meta = with lib; {
description = "Terminal user interface for SSH";
homepage = "https://github.com/quantumsheep/sshs";
license = licenses.mit;
maintainers = with maintainers; [ not-my-segfault ];
2022-07-10 21:40:31 +02:00
};
}