nixpkgs/pkgs/tools/networking/par2cmdline/default.nix
Ryan Mulligan 9ccb0f3955 par2cmdline: 0.7.3 -> 0.8.0
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/j0cc1ys2lb4hxa5zqcq2a43pkaii585d-par2cmdline-0.8.0/bin/par2 -h` got 0 exit code
- ran `/nix/store/j0cc1ys2lb4hxa5zqcq2a43pkaii585d-par2cmdline-0.8.0/bin/par2 --help` got 0 exit code
- ran `/nix/store/j0cc1ys2lb4hxa5zqcq2a43pkaii585d-par2cmdline-0.8.0/bin/par2 -V` and found version 0.8.0
- found 0.8.0 with grep in /nix/store/j0cc1ys2lb4hxa5zqcq2a43pkaii585d-par2cmdline-0.8.0
- found 0.8.0 in filename of file in /nix/store/j0cc1ys2lb4hxa5zqcq2a43pkaii585d-par2cmdline-0.8.0

cc "@muflax"
2018-03-03 11:05:23 +00:00

28 lines
831 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
name = "par2cmdline-${version}";
version = "0.8.0";
src = fetchFromGitHub {
owner = "Parchive";
repo = "par2cmdline";
rev = "v${version}";
sha256 = "0f1jsd5sw2wynjzi7yjqjaf13yhyjfdid91p8yh0jn32y03kjyrz";
};
nativeBuildInputs = [ autoreconfHook ];
meta = with stdenv.lib; {
homepage = https://github.com/Parchive/par2cmdline;
description = "PAR 2.0 compatible file verification and repair tool";
longDescription = ''
par2cmdline is a program for creating and using PAR2 files to detect
damage in data files and repair them if necessary. It can be used with
any kind of file.
'';
license = licenses.gpl2Plus;
maintainers = [ maintainers.muflax ];
platforms = platforms.all;
};
}