3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/unpackerr/default.nix

25 lines
718 B
Nix
Raw Normal View History

2021-05-18 08:07:09 +01:00
{ lib, stdenv, fetchFromGitHub, buildGoModule, Cocoa, WebKit }:
2021-05-13 12:16:40 +01:00
buildGoModule rec {
pname = "unpackerr";
2021-09-12 12:12:56 +01:00
version = "0.9.8";
2021-05-13 12:16:40 +01:00
src = fetchFromGitHub {
owner = "davidnewhall";
repo = "unpackerr";
rev = "v${version}";
2021-09-12 12:12:56 +01:00
sha256 = "08xcxs4qh25qsjaf6wivhpszl61zdp59hlkd57igf9fv4lywb41q";
2021-05-13 12:16:40 +01:00
};
2021-09-12 12:12:56 +01:00
vendorSha256 = "0ilpg7xfll0c5lsv8zf4h3i72yabddkddih4d292hczyz9wi3j4z";
2021-05-13 12:16:40 +01:00
2021-05-18 08:07:09 +01:00
buildInputs = lib.optionals stdenv.isDarwin [ Cocoa WebKit ];
2021-05-13 12:16:40 +01: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;
};
}