grace/dots

dotfiles/nix configs

git clone https://git.gae.moe/grace/dots

Grace Yoderflake rewrite + a bunch\ni keep holding onto changes forever this is not how you use vcs08de973

main
912 B38 linesraw
1{
2  lib,
3  stdenvNoCC,
4  fetchurl,
5}:
6
7stdenvNoCC.mkDerivation {
8  pname = "matrix-continuwuity";
9  version = "26.6.0";
10
11  src = fetchurl {
12    url = "https://forgejo.ellis.link/continuwuation/continuwuity/releases/download/v26.6.0/conduwuit-linux-static-amd64";
13    hash = "sha256-eFi+Fay0uXVJoN1bg1Exyn6lfNA7dhwSjor2S1p6tDg=";
14  };
15
16  dontUnpack = true;
17  dontStrip = true;
18  installPhase = ''
19    runHook preInstall
20    install -Dm755 "$src" "$out/bin/conduwuit"
21    runHook postInstall
22  '';
23
24  doInstallCheck = true;
25  installCheckPhase = ''
26    runHook preInstallCheck
27    "$out/bin/conduwuit" --version | grep -F '26.6.0'
28    runHook postInstallCheck
29  '';
30
31  meta = {
32    description = "Continuwuity pinned before legacy federated invite enforcement";
33    homepage = "https://continuwuity.org/";
34    license = lib.licenses.asl20;
35    platforms = [ "x86_64-linux" ];
36    mainProgram = "conduwuit";
37  };
38}