13 pinData = lib.importJSON ./pin.json;
17 stdenvNoCC.mkDerivation (finalAttrs: {
20 version = pinData.uiVersion;
28 fetchSubmodules = true;
29 hash = pinData.uiHash;
42 extraBuildInputs = [ libsass ];
43 pnpmDeps = pnpm_9.fetchDeps {
44 inherit (finalAttrs) pname version src;
45 hash = pinData.uiPNPMDepsHash;
59 # mkdir -p $out/{bin,lib/${finalAttrs.pname}}
60 # mv {dist,node_modules} $out/lib/${finalAttrs.pname}
68 cp -R ./node_modules $out
72 find $out -name libvips-cpp.so.42 -print0 | while read -d $'\0' libvips; do
73 echo replacing libvips at $libvips
75 ln -s ${lib.getLib vips}/lib/libvips-cpp.so.42 $libvips
81 passthru.updateScript = ./update.py;
82 passthru.tests.lemmy-ui = nixosTests.lemmy;
83 passthru.commit_sha = finalAttrs.src.rev;
86 description = "Building a federated alternative to reddit in rust";
87 homepage = "https://join-lemmy.org/";
88 license = licenses.agpl3Only;
89 maintainers = with maintainers; [
94 inherit (nodejs.meta) platforms;