1 { lib, buildGoModule, fetchFromSourcehut, fetchpatch, nixosTests }:
5 version = "2022-10-18";
7 src = fetchFromSourcehut {
10 rev = "f01fbcbc48db5e65d69a0ebd9d7cb0deb378cf13";
11 hash = "sha256-RSug3YSiqYLGs05Bee4NoaoCyPvUZ7IqlKWI1hmxbiA=";
14 vendorHash = "sha256-QsGfINktk+rBj4b5h+NBVS6XV1SVz+9fDL1vtUqcKEU=";
19 "-X main.themesPath=${placeholder "out"}/share/alps/themes"
20 "-X git.sr.ht/~migadu/alps.PluginDir=${placeholder "out"}/share/alps/plugins"
25 name = "Issue-160-Alps-theme-has-a-enormous-move-to-list-sel";
26 url = "https://lists.sr.ht/~migadu/alps-devel/patches/30096/mbox";
27 hash = "sha256-Sz/SCkrrXZWrmJzjfPXi+UfCcbwsy6QiA7m34iiEFX0=";
32 substituteInPlace plugin.go --replace "const PluginDir" "var PluginDir"
36 mkdir -p "$out/share/alps"
37 cp -r themes plugins "$out/share/alps/"
42 passthru.tests = { inherit(nixosTests) alps; };
45 description = "Simple and extensible webmail";
46 homepage = "https://git.sr.ht/~migadu/alps";
47 license = licenses.mit;
48 maintainers = with maintainers; [ booklearner madonius hmenke ];