2021-05-20 23:08:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, buildGoModule, Cocoa, WebKit }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "unpackerr";
|
2021-08-18 13:19:15 +00:00
|
|
|
version = "0.9.7";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "davidnewhall";
|
|
|
|
repo = "unpackerr";
|
|
|
|
rev = "v${version}";
|
2021-08-18 13:19:15 +00:00
|
|
|
sha256 = "sha256-OJDFPSXbJffiKW1SmMptPxj69YU7cuOU1LgIiInurCM=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
2021-08-18 13:19:15 +00:00
|
|
|
vendorSha256 = "sha256-n8gRefr+MyiSaATG1mZrS3lx4oDEfbQ1LQxQ6vp5l0Y=";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
maintainers = with maintainers; [ nullx76 ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|