11 pin = lib.importJSON ./pin.json;
16 inherit (pin) version;
18 src = fetchFromGitHub {
19 owner = "Fallenbagel";
25 packageJSON = ./package.json;
27 offlineCache = fetchYarnDeps {
28 yarnLock = "${src}/yarn.lock";
29 sha256 = pin.yarnSha256;
39 # Fixes "SQLite package has not been found installed" at launch
41 nativeBuildInputs = [ nodejs.pkgs.node-pre-gyp python3 ];
43 export CPPFLAGS="-I${nodejs}/include/node"
44 node-pre-gyp install --prefer-offline --build-from-source --nodedir=${nodejs}/include/node
45 rm -r build-tmp-napi-v6
50 nativeBuildInputs = [ nodejs.pkgs.node-pre-gyp python3 ];
52 export CPPFLAGS="-I${nodejs}/include/node"
53 node-pre-gyp install --prefer-offline --build-from-source --nodedir=${nodejs}/include/node
70 makeWrapper '${nodejs}/bin/node' "$out/bin/jellyseerr" \
71 --add-flags "$out/libexec/jellyseerr/deps/jellyseerr/dist/index.js" \
72 --set NODE_ENV production
75 passthru.updateScript = ./update.sh;
78 description = "Fork of overseerr for jellyfin support";
79 homepage = "https://github.com/Fallenbagel/jellyseerr";
81 Jellyseerr is a free and open source software application for managing
82 requests for your media library. It is a a fork of Overseerr built to
83 bring support for Jellyfin & Emby media servers!
85 license = licenses.mit;
86 maintainers = with maintainers; [ camillemndn ];
87 platforms = platforms.linux;
88 mainProgram = "jellyseerr";