1 { lib, stdenv, fetchFromGitHub, buildGoModule, Cocoa, WebKit }:
7 src = fetchFromGitHub {
8 owner = "davidnewhall";
11 sha256 = "sha256-uQwpdgV6ksouW9JTuiiuQjxBGOE/ypDW769kNJgWrHw=";
14 vendorHash = "sha256-wWIw0gNn5tqRq0udzPy/n2OkiIVESpSotOSn2YlBNS4=";
16 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa WebKit ];
18 ldflags = [ "-s" "-w" "-X golift.io/version.Version=${version}" ];
21 description = "Extracts downloads for Radarr, Sonarr, Lidarr - Deletes extracted files after import";
22 homepage = "https://github.com/davidnewhall/unpackerr";
24 license = licenses.mit;
25 mainProgram = "unpackerr";