mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
par2cmdline: update to 0.6.11 and adopt it
[Bjørn: break overlong longDescription line]
This commit is contained in:
parent
f40807701a
commit
001f2110bd
@ -1,22 +1,28 @@
|
|||||||
{stdenv, fetchurl}:
|
{stdenv, fetchzip, autoconf, automake}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "par2cmdline-0.4";
|
name = "par2cmdline-${version}";
|
||||||
|
version = "0.6.11";
|
||||||
src = fetchurl {
|
|
||||||
url = mirror://sourceforge/parchive/par2cmdline-0.4.tar.gz;
|
src = fetchzip {
|
||||||
sha256 = "0xznx4vgf9nd0ijm2xi2zrb42wb891ypa948z54q5jkvrzdvfcly";
|
url = "https://github.com/BlackIkeEagle/par2cmdline/archive/v${version}.tar.gz";
|
||||||
|
sha256 = "0maywssv468ia7rf8jyq4axwahgli3nfykl7x3zip503psywjj8a";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
buildInputs = [ autoconf automake ];
|
||||||
(fetchurl {
|
|
||||||
url = "http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/app-arch/par2cmdline/files/par2cmdline-0.4-gcc4.patch?rev=1.1.1.1";
|
preConfigure = "autoreconf";
|
||||||
sha256 = "1xrkr13qw5vqi2qbr2p43nqbq83nywk4bgvq7nfvrca4z60s787d";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://parchive.sourceforge.net/;
|
homepage = https://github.com/BlackIkeEagle/par2cmdline;
|
||||||
description = "A command-line tool for repairing downloaded files using PARs (parity archives)";
|
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 = stdenv.lib.licenses.gpl2Plus;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ muflax ];
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user