13 writeShellApplication,
16 izzy = rustPlatform.buildRustPackage rec {
20 src = fetchFromGitLab {
24 hash = "sha256-UauA5mZi5a5QF7d17pKSzvyaWbeSuFjBrXEAxR3wNkk=";
28 ln -s ${./Cargo.lock} Cargo.lock
31 cargoLock.lockFile = ./Cargo.lock;
34 description = "Rust In-Memory K-V Store with Redis-Style File Persistence and Secondary Indices";
35 homepage = "https://gitlab.com/porn-vault/izzy";
36 license = lib.licenses.gpl3Plus;
37 maintainers = [ lib.maintainers.luNeder ];
44 stdenvNoCC.mkDerivation (finalAttrs: {
46 version = "0.30.0-rc.11";
48 src = fetchFromGitLab {
51 rev = "4c6182c5825d85193cf67cb7cd927da2feaaecdb";
52 hash = "sha256-wQ3dqLc0l2BmLGDYrbWxX2mPwO/Tqz0fY/fOQTEUv24=";
55 pnpmDeps = pnpm.fetchDeps {
56 inherit (finalAttrs) pname version src;
57 hash = "sha256-Xr9tRiP1hW+aFs9FnPvPkeJ0/LtJI57cjWY5bZQaRTQ=";
67 ./allow-use-of-systemd-temp-path.patch
71 substituteInPlace server/binaries/izzy.ts \
72 --replace-fail 'chmodSync(izzyPath, "111");' ""
86 install -Dm644 package.json config.example.json remix.config.js -t $out/share/porn-vault
87 cp -R public dist build node_modules graphql locale -t $out/share/porn-vault
93 makeWrapper "${lib.getExe nodejs}" "$out/bin/porn-vault" \
94 --chdir "$out/share/porn-vault" \
95 --add-flags "dist/index.js" \
96 --set-default IZZY_PATH "${lib.getExe izzy}" \
107 description = "Porn-Vault is a self hosted organizer for adult videos and imagery.";
108 homepage = "https://gitlab.com/porn-vault/porn-vault";
109 license = lib.licenses.gpl3Plus;
110 maintainers = [ lib.maintainers.luNeder ];
111 inherit (nodejs.meta) platforms;
112 mainProgram = "porn-vault";