unpackerr: fix darwin build

This commit is contained in:
Stéphan Kochen 2021-05-18 09:07:09 +02:00
parent 636b3581f6
commit 60fcee7e5b
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildGoModule }:
{ lib, stdenv, fetchFromGitHub, buildGoModule, Cocoa, WebKit }:
buildGoModule rec {
pname = "unpackerr";
@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "1j79vmf0mkwkqrg5j6fm2b8y3a23y039kbiqkiwb56724bmd27dd";
buildInputs = lib.optionals stdenv.isDarwin [ Cocoa WebKit ];
meta = with lib; {
description = "Extracts downloads for Radarr, Sonarr, Lidarr - Deletes extracted files after import";
homepage = "https://github.com/davidnewhall/unpackerr";

View file

@ -19653,7 +19653,9 @@ in
unifi6;
unifi = unifi6;
unpackerr = callPackage ../servers/unpackerr { };
unpackerr = callPackage ../servers/unpackerr {
inherit (darwin.apple_sdk.frameworks) Cocoa WebKit;
};
urserver = callPackage ../servers/urserver { };