2022-11-27 09:42:12 +00:00
|
|
|
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "senv";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "0.7.0";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SpectralOps";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "sha256-TjlIX8FPNiPDQo41pIt04cki/orc+v30pV3o2bQQhAQ=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-zOWX0AiLAs1FtOn+VtRexfn6oOmJT1PoTPHkcpwvxRY=";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Friends don't let friends leak secrets on their terminal window";
|
|
|
|
homepage = "https://github.com/SpectralOps/senv";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2024-09-26 11:04:55 +00:00
|
|
|
broken = stdenv.hostPlatform.isDarwin; # needs golang.org/x/sys bump
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "senv";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
}
|