mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
27 lines
785 B
Nix
27 lines
785 B
Nix
{ lib, stdenv, fetchFromGitHub, buildGoModule, Cocoa, WebKit }:
|
|
|
|
buildGoModule rec {
|
|
pname = "unpackerr";
|
|
version = "0.11.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "davidnewhall";
|
|
repo = "unpackerr";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-qoaJYCJoN8RcOM7Bk2zwNYqnKXB/GAlt29VZjY/MchU=";
|
|
};
|
|
|
|
vendorHash = "sha256-ArWeVNFHM37bmFFLNzqpXKmK9/DUi7+ZsRHpuLNfL0A=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Cocoa WebKit ];
|
|
|
|
ldflags = [ "-s" "-w" "-X golift.io/version.Version=${version}" ];
|
|
|
|
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;
|
|
};
|
|
}
|