biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / security / ots / default.nix
blob7d55bb84d97605d264734ac7e88c678cea78709d
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "ots";
5   version = "0.2.0";
7   src = fetchFromGitHub {
8     owner = "sniptt-official";
9     repo = pname;
10     rev = "v${version}";
11     hash = "sha256-Oxs2ytf0rY9QYzVaLUkqyX15oWjas3ukSkq9D1TYbDE=";
12   };
14   vendorHash = "sha256-qYk8T0sYIO0wJ0R0j+0VetCy11w8usIRRdBm/Z6grJE=";
16   ldflags = [ "-X main.version=${version}" "-X main.buildSource=nix" ];
18   meta = with lib; {
19     description = "Share end-to-end encrypted secrets with others via a one-time URL";
20     mainProgram = "ots";
21     homepage = "https://ots.sniptt.com";
22     changelog = "https://github.com/sniptt-official/ots/releases/tag/v${version}";
23     license = licenses.asl20;
24     maintainers = with maintainers; [ elliot ];
25   };