1 { lib, stdenv, fetchFromGitHub, buildGoModule, Cocoa, WebKit }:
7 src = fetchFromGitHub {
8 owner = "davidnewhall";
11 sha256 = "sha256-boDDxQVEUnPOt+ido8J1MvkVUrZRusdSORY0/mPfjDw=";
14 vendorHash = "sha256-rxoAHcVxjKII945FQ4/HD3UjtZTwmlFx8zJx0Rfumu4=";
16 buildInputs = lib.optionals stdenv.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";
23 maintainers = with maintainers; [ ];
24 license = licenses.mit;
25 mainProgram = "unpackerr";