haccfiles/pkgs/alps/default.nix

26 lines
540 B
Nix
Raw Normal View History

2020-12-05 18:56:49 +00:00
{ lib, buildGoModule }:
buildGoModule rec {
pname = "alps";
version = "0.0.1";
src = fetchGit {
url = "https://git.sr.ht/~migadu/alps";
2020-12-09 12:01:39 +00:00
rev = "51498a2dc37987f55b022efb961b68a282be17ed";
2020-12-05 18:56:49 +00:00
};
2020-12-09 12:01:39 +00:00
vendorSha256 = "0wc8fb03zlc1gl4nxlsh149gvpvrs3lc0smzrnam9smigg9gw4in";
2020-12-05 18:56:49 +00:00
subPackages = [ "cmd/alps" ];
postInstall = ''
mkdir -p $out/share/alps
cp -r $src/themes $out/share/alps/
'';
meta = with lib; {
description = "A simple and extensible webmail.";
homepage = "https://git.sr.ht/~migadu/alps";
};
}