mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
6d1b077c1b
maintainers: ihatethefrench -> not-my-segfault
33 lines
728 B
Nix
33 lines
728 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "sshs";
|
|
version = "3.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "quantumsheep";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "OTyk3EGlpr5k6QSwGmHFoF3cAJKQEEkWJuV53Wi8ook=";
|
|
};
|
|
|
|
vendorSha256 = "wClgX08UbItCpWOkWLgmsy7Ad5LlpvXrStN3JHujVww=";
|
|
|
|
ldflags = [ "-s" "-w" "-X github.com/quantumsheep/sshs/cmd.Version=${version}" ];
|
|
|
|
passthru.updateScript = nix-update-script {
|
|
attrPath = pname;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Terminal user interface for SSH";
|
|
homepage = "https://github.com/quantumsheep/sshs";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ not-my-segfault ];
|
|
};
|
|
}
|