Unverified Commit 254be7c7 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #226594 from Eliot00/ots-init

ots: init at 0.2.0
parents 7081da42 a8a94887
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "ots";
  version = "0.2.0";

  src = fetchFromGitHub {
    owner = "sniptt-official";
    repo = pname;
    rev = "v${version}";
    sha256 = "Oxs2ytf0rY9QYzVaLUkqyX15oWjas3ukSkq9D1TYbDE=";
  };

  vendorSha256 = "qYk8T0sYIO0wJ0R0j+0VetCy11w8usIRRdBm/Z6grJE=";

  ldflags = [ "-X main.version=${version}" "-X main.buildSource=nix" ];

  meta = with lib; {
    description = "Share end-to-end encrypted secrets with others via a one-time URL";
    homepage = "https://ots.sniptt.com";
    changelog = "https://github.com/sniptt-official/ots/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ elliot ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -659,6 +659,8 @@ with pkgs;
  oletools = with python3.pkgs; toPythonApplication oletools;
  ots = callPackage ../tools/security/ots {  };
  credential-detector = callPackage ../tools/security/credential-detector { };
  credslayer = callPackage ../tools/security/credslayer { };