depot/pkgs/applications/misc/senv/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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";
};
}