7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
26 lines
728 B
Nix
26 lines
728 B
Nix
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "senv";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SpectralOps";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-TjlIX8FPNiPDQo41pIt04cki/orc+v30pV3o2bQQhAQ=";
|
|
};
|
|
|
|
vendorHash = "sha256-zOWX0AiLAs1FtOn+VtRexfn6oOmJT1PoTPHkcpwvxRY=";
|
|
|
|
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 ];
|
|
broken = stdenv.hostPlatform.isDarwin; # needs golang.org/x/sys bump
|
|
mainProgram = "senv";
|
|
};
|
|
}
|