mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
e089fddcab
This is a fork of par2cmdline that adds performance improvements. This package can be used with sabnzbd to improve verification and repair performance. https://sabnzbd.org/wiki/installation/par2cmdline-turbo
25 lines
692 B
Nix
25 lines
692 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
||
|
||
stdenv.mkDerivation rec {
|
||
pname = "par2cmdline-turbo";
|
||
version = "1.1.1";
|
||
|
||
src = fetchFromGitHub {
|
||
owner = "animetosho";
|
||
repo = "par2cmdline-turbo";
|
||
rev = "v${version}";
|
||
hash = "sha256-EJ6gBja5tPrfsfbqYs8pZDEPmJ6mCPfkUYOTTMFaKG8=";
|
||
};
|
||
|
||
nativeBuildInputs = [ autoreconfHook ];
|
||
enableParallelBuilding = true;
|
||
|
||
meta = with lib; {
|
||
homepage = "https://github.com/animetosho/par2cmdline-turbo";
|
||
description = "par2cmdline × ParPar: speed focused par2cmdline fork";
|
||
license = licenses.gpl2Plus;
|
||
maintainers = [ maintainers.proglottis ];
|
||
platforms = platforms.all;
|
||
mainProgram = "par2";
|
||
};
|
||
}
|