bottom: add gpu recognition, new apple sdk, refactor (#360568)
[NixPkgs.git] / pkgs / by-name / sa / safe / package.nix
blob70bade379cd77c268c6c8e673f86822235018366
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "safe";
9   version = "1.8.0";
11   src = fetchFromGitHub {
12     owner = "starkandwayne";
13     repo = "safe";
14     rev = "v${version}";
15     sha256 = "sha256-sg0RyZ5HpYu7M11bNy17Sjxm7C3pkQX3I17edbALuvU=";
16   };
18   vendorHash = "sha256-w8gHCqOfmZg4JZgg1nZBtTJ553Rbp0a0JsoQVDFjehM=";
20   subPackages = [ "." ];
22   ldflags = [
23     "-X main.Version=${version}"
24   ];
26   meta = with lib; {
27     description = "Vault CLI";
28     mainProgram = "safe";
29     homepage = "https://github.com/starkandwayne/safe";
30     license = licenses.mit;
31     maintainers = with maintainers; [ eonpatapon ];
32   };