2022-11-22 23:30:16 +00:00
|
|
|
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
2021-03-03 15:20:33 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "senv";
|
2021-08-22 13:56:12 +00:00
|
|
|
version = "0.7.0";
|
2021-03-03 15:20:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SpectralOps";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-08-22 13:56:12 +00:00
|
|
|
sha256 = "sha256-TjlIX8FPNiPDQo41pIt04cki/orc+v30pV3o2bQQhAQ=";
|
2021-03-03 15:20:33 +00:00
|
|
|
};
|
|
|
|
|
2021-08-22 13:56:12 +00:00
|
|
|
vendorSha256 = "sha256-zOWX0AiLAs1FtOn+VtRexfn6oOmJT1PoTPHkcpwvxRY=";
|
2021-03-03 15:20:33 +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 ];
|
2022-11-22 23:30:16 +00:00
|
|
|
broken = stdenv.isDarwin; # needs golang.org/x/sys bump
|
2021-03-03 15:20:33 +00:00
|
|
|
};
|
|
|
|
}
|