nixpkgs/pkgs/tools/security/safe/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

33 lines
648 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "safe";
version = "1.8.0";
src = fetchFromGitHub {
owner = "starkandwayne";
repo = "safe";
rev = "v${version}";
sha256 = "sha256-sg0RyZ5HpYu7M11bNy17Sjxm7C3pkQX3I17edbALuvU=";
};
vendorHash = "sha256-w8gHCqOfmZg4JZgg1nZBtTJ553Rbp0a0JsoQVDFjehM=";
subPackages = [ "." ];
ldflags = [
"-X main.Version=${version}"
];
meta = with lib; {
description = "Vault CLI";
mainProgram = "safe";
homepage = "https://github.com/starkandwayne/safe";
license = licenses.mit;
maintainers = with maintainers; [ eonpatapon ];
};
}