11 buildDotnetModule rec {
15 src = fetchFromGitHub {
19 hash = "sha512-W5Bmm426DOpnppP20a82ZwaUE9/HRUXXCKQUMK8TBgT1BUPPHykyW2Bew0u3U6NXXAX5EepyOb9lcidpBjN5RQ==";
22 projectFile = "src/Jackett.Server/Jackett.Server.csproj";
23 nugetDeps = ./deps.nix;
25 dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;
26 dotnet-sdk = dotnetCorePackages.sdk_8_0;
28 dotnetInstallFlags = [ "-p:TargetFramework=net8.0" ];
30 runtimeDeps = [ openssl ];
32 doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64); # mono is not available on aarch64-darwin
33 nativeCheckInputs = [ mono ];
34 testProjectFile = "src/Jackett.Test/Jackett.Test.csproj";
38 ln -s $out/bin/jackett $out/bin/Jackett || :
39 ln -s $out/bin/Jackett $out/bin/jackett || :
41 passthru.updateScript = ./updater.sh;
43 passthru.tests = { inherit (nixosTests) jackett; };
46 description = "API Support for your favorite torrent trackers";
47 mainProgram = "jackett";
48 homepage = "https://github.com/Jackett/Jackett/";
49 changelog = "https://github.com/Jackett/Jackett/releases/tag/v${version}";
50 license = licenses.gpl2Only;
51 maintainers = with maintainers; [ edwtjo nyanloutre purcell ];