nixpkgs/pkgs/servers/hiraeth/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
541 B
Nix
Raw Normal View History

2023-06-06 20:45:23 +02:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "hiraeth";
2023-09-27 02:56:54 +02:00
version = "1.1.1";
2023-06-06 20:45:23 +02:00
src = fetchFromGitHub {
owner = "lukaswrz";
repo = "hiraeth";
rev = "v${version}";
2023-09-27 02:56:54 +02:00
hash = "sha256-GPDGwrYVy9utp5u4iyf0PqIAlI/izcwAsj4yFStYmTE=";
2023-06-06 20:45:23 +02:00
};
2023-09-27 02:56:54 +02:00
vendorHash = "sha256-bp9xDB7tplHEBR1Z+Ouks2ZwcktAhaZ/zSSPcu7LWr8=";
2023-06-06 20:45:23 +02:00
meta = {
description = "Share files with an expiration date";
license = lib.licenses.agpl3Plus;
maintainers = [ lib.maintainers.lukaswrz ];
2023-11-23 22:09:35 +01:00
mainProgram = "hiraeth";
2023-06-06 20:45:23 +02:00
};
}