traefik: add djds as maintainer (#377217)
[NixPkgs.git] / pkgs / by-name / ot / ots / package.nix
blobe5975c7f9e6f3e3fd0c980374a7666b28b914f34
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "ots";
9   version = "0.2.0";
11   src = fetchFromGitHub {
12     owner = "sniptt-official";
13     repo = pname;
14     rev = "v${version}";
15     hash = "sha256-Oxs2ytf0rY9QYzVaLUkqyX15oWjas3ukSkq9D1TYbDE=";
16   };
18   vendorHash = "sha256-qYk8T0sYIO0wJ0R0j+0VetCy11w8usIRRdBm/Z6grJE=";
20   ldflags = [
21     "-X main.version=${version}"
22     "-X main.buildSource=nix"
23   ];
25   meta = with lib; {
26     description = "Share end-to-end encrypted secrets with others via a one-time URL";
27     mainProgram = "ots";
28     homepage = "https://ots.sniptt.com";
29     changelog = "https://github.com/sniptt-official/ots/releases/tag/v${version}";
30     license = licenses.asl20;
31     maintainers = with maintainers; [ elliot ];
32   };