at v192 28 lines 880 B view raw
1{stdenv, fetchzip, autoconf, automake}: 2 3stdenv.mkDerivation rec { 4 name = "par2cmdline-${version}"; 5 version = "0.6.11"; 6 7 src = fetchzip { 8 url = "https://github.com/BlackIkeEagle/par2cmdline/archive/v${version}.tar.gz"; 9 sha256 = "0maywssv468ia7rf8jyq4axwahgli3nfykl7x3zip503psywjj8a"; 10 }; 11 12 buildInputs = [ autoconf automake ]; 13 14 preConfigure = "autoreconf"; 15 16 meta = { 17 homepage = https://github.com/BlackIkeEagle/par2cmdline; 18 description = "PAR 2.0 compatible file verification and repair tool"; 19 longDescription = '' 20 par2cmdline is a program for creating and using PAR2 files to detect 21 damage in data files and repair them if necessary. It can be used with 22 any kind of file. 23 ''; 24 license = stdenv.lib.licenses.gpl2Plus; 25 maintainers = [ stdenv.lib.maintainers.muflax ]; 26 platforms = stdenv.lib.platforms.all; 27 }; 28}