uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
48
pkgs/servers/jackett/default.nix
Normal file
48
pkgs/servers/jackett/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildDotnetModule
|
||||
, fetchFromGitHub
|
||||
, dotnetCorePackages
|
||||
, openssl
|
||||
, mono
|
||||
}:
|
||||
|
||||
buildDotnetModule rec {
|
||||
pname = "jackett";
|
||||
version = "0.20.709";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "Gx1VHjs37XBcvw20pQNrA/meLuVmogdGIzroRXvTv5Q=";
|
||||
};
|
||||
|
||||
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
|
||||
checkInputs = [ 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/";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ edwtjo nyanloutre purcell ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
passthru.updateScript = ./updater.sh;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue