2021-05-18 09:07:09 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub, buildGoModule, Cocoa, WebKit }:
|
2021-05-13 13:16:40 +02:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "unpackerr";
|
2021-06-05 11:51:32 +02:00
|
|
|
version = "0.9.6";
|
2021-05-13 13:16:40 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "davidnewhall";
|
|
|
|
repo = "unpackerr";
|
|
|
|
rev = "v${version}";
|
2021-06-05 11:51:32 +02:00
|
|
|
sha256 = "1jyqrfik6fy7d4lr1y0ryp4iz8yn898ksyxwaryvrhykznqivp0y";
|
2021-05-13 13:16:40 +02:00
|
|
|
};
|
|
|
|
|
2021-06-05 11:51:32 +02:00
|
|
|
vendorSha256 = "0ilpg7xfll0c5lsv8zf4h3i72yabddkddih4d292hczyz9wi3j4z";
|
2021-05-13 13:16:40 +02:00
|
|
|
|
2021-05-18 09:07:09 +02:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Cocoa WebKit ];
|
|
|
|
|
2021-05-13 13:16:40 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Extracts downloads for Radarr, Sonarr, Lidarr - Deletes extracted files after import";
|
|
|
|
homepage = "https://github.com/davidnewhall/unpackerr";
|
|
|
|
maintainers = with maintainers; [ nullx76 ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|