1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
8 owner = "sniptt-official";
11 hash = "sha256-Oxs2ytf0rY9QYzVaLUkqyX15oWjas3ukSkq9D1TYbDE=";
14 vendorHash = "sha256-qYk8T0sYIO0wJ0R0j+0VetCy11w8usIRRdBm/Z6grJE=";
16 ldflags = [ "-X main.version=${version}" "-X main.buildSource=nix" ];
19 description = "Share end-to-end encrypted secrets with others via a one-time URL";
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 ];