forked from
lass.pds.lassul.us/superconfig
This repository has no description
887 B
33 lines
1{
2 tranquil-pds,
3 tranquil-pds-frontend,
4 fetchFromTangled,
5 rustPlatform,
6}:
7let
8 version = "0.7.0";
9 src = fetchFromTangled {
10 did = "did:plc:jj6ajj6duxnlthwtnob4qyuv";
11 tag = "v${version}";
12 hash = "sha256-QbncR2z9GhxKKbbCf6a5Ph4lLi4OYWjRN49s7+5q7Uc=";
13 };
14in
15tranquil-pds.overrideAttrs (
16 finalAttrs: old: {
17 inherit version src;
18 cargoDeps = rustPlatform.fetchCargoVendor {
19 inherit (finalAttrs) pname version src;
20 hash = "sha256-fjT0cAt7lPD0O2PGNT604dRIczerKjExJvU/L3Yul3c=";
21 };
22 passthru = old.passthru // {
23 # web UI, served from settings.frontend.dir
24 frontend = tranquil-pds-frontend.overrideAttrs (old: {
25 inherit version src;
26 pnpmDeps = old.pnpmDeps.overrideAttrs {
27 inherit version src;
28 outputHash = "sha256-+P4UUkZKQJVfGbDFKR0gRMU+wYK9K7NBYo1s/ebRK9I=";
29 };
30 });
31 };
32 }
33)