diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/hiraeth/default.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/hiraeth/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/hiraeth/default.nix b/nixpkgs/pkgs/servers/hiraeth/default.nix new file mode 100644 index 000000000000..c69ec6ac34fa --- /dev/null +++ b/nixpkgs/pkgs/servers/hiraeth/default.nix @@ -0,0 +1,25 @@ +{ + 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"; + }; +} |