nixpkgs/pkgs/servers/hiraeth/default.nix
2023-11-24 21:01:03 +01:00

25 lines
541 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "hiraeth";
version = "1.1.1";
src = fetchFromGitHub {
owner = "lukaswrz";
repo = "hiraeth";
rev = "v${version}";
hash = "sha256-GPDGwrYVy9utp5u4iyf0PqIAlI/izcwAsj4yFStYmTE=";
};
vendorHash = "sha256-bp9xDB7tplHEBR1Z+Ouks2ZwcktAhaZ/zSSPcu7LWr8=";
meta = {
description = "Share files with an expiration date";
license = lib.licenses.agpl3Plus;
maintainers = [ lib.maintainers.lukaswrz ];
mainProgram = "hiraeth";
};
}