mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
chore: goodbye custom jackett
This commit is contained in:
parent
2c09b2e235
commit
3cc6ebdd52
3 changed files with 0 additions and 1461 deletions
|
@ -50,7 +50,6 @@ import "${nixpkgs}/nixos/lib/eval-config.nix" {
|
||||||
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
||||||
});
|
});
|
||||||
# Packages comming from other repositories
|
# Packages comming from other repositories
|
||||||
jackett = pkgs.callPackage ../packages/jackett { };
|
|
||||||
lila-build-hook = (import inputs.lila).packages.${system}.utils;
|
lila-build-hook = (import inputs.lila).packages.${system}.utils;
|
||||||
statelessUptimeKuma =
|
statelessUptimeKuma =
|
||||||
pkgs.callPackage "${inputs.stateless-uptime-kuma}/stateless-uptime-kuma.nix"
|
pkgs.callPackage "${inputs.stateless-uptime-kuma}/stateless-uptime-kuma.nix"
|
||||||
|
|
|
@ -1,52 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
stdenv,
|
|
||||||
buildDotnetModule,
|
|
||||||
fetchFromGitHub,
|
|
||||||
dotnetCorePackages,
|
|
||||||
openssl,
|
|
||||||
mono,
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildDotnetModule rec {
|
|
||||||
pname = "jackett";
|
|
||||||
version = "0.21.2688";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = pname;
|
|
||||||
repo = pname;
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha512-ofKCk1vWPbn3dFQ8qt7ieTXzkyFUoRGWsKGLpBZGEduX71aGX1M8wri27nt27FShb1Q7gVbGqUq6RHQI4bwnlQ==";
|
|
||||||
};
|
|
||||||
|
|
||||||
projectFile = "src/Jackett.Server/Jackett.Server.csproj";
|
|
||||||
nugetDeps = ./deps.nix;
|
|
||||||
|
|
||||||
dotnet-runtime = dotnetCorePackages.aspnetcore_6_0;
|
|
||||||
|
|
||||||
dotnetInstallFlags = [ "-p:TargetFramework=net6.0" ];
|
|
||||||
|
|
||||||
runtimeDeps = [ openssl ];
|
|
||||||
|
|
||||||
doCheck = !(stdenv.isDarwin && stdenv.isAarch64); # mono is not available on aarch64-darwin
|
|
||||||
nativeCheckInputs = [ mono ];
|
|
||||||
testProjectFile = "src/Jackett.Test/Jackett.Test.csproj";
|
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
# For compatibility
|
|
||||||
ln -s $out/bin/jackett $out/bin/Jackett || :
|
|
||||||
ln -s $out/bin/Jackett $out/bin/jackett || :
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "API Support for your favorite torrent trackers";
|
|
||||||
homepage = "https://github.com/Jackett/Jackett/";
|
|
||||||
changelog = "https://github.com/Jackett/Jackett/releases/tag/v${version}";
|
|
||||||
license = licenses.gpl2Only;
|
|
||||||
maintainers = with maintainers; [
|
|
||||||
edwtjo
|
|
||||||
nyanloutre
|
|
||||||
purcell
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue