about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/hiraeth/default.nix
blob: 784762bfeca30f4184cf76aa82e70f84f78c47a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:
buildGoModule rec {
  pname = "hiraeth";
  version = "1.0.1";

  src = fetchFromGitHub {
    owner = "lukaswrz";
    repo = "hiraeth";
    rev = "v${version}";
    hash = "sha256-IjHQAJH6Kv65iDkVtJaVeAiMXCEyTTpUTTbW7I2Gxrc=";
  };

  vendorSha256 = "sha256-tyFAd5S1RUn1AA5DbUGsAuvwtLgOgTE6LUzW3clQE9I=";

  meta = {
    description = "Share files with an expiration date";
    license = lib.licenses.agpl3Plus;
    maintainers = [ lib.maintainers.lukaswrz ];
  };
}