9 stdenv.mkDerivation rec {
14 url = "https://launchpad.net/libpar2/trunk/${version}/+download/${pname}-${version}.tar.gz";
15 sha256 = "1m4ncws1h03zq7zyqbaymvjzzbh1d3lc4wb1aksrdf0ync76yv9i";
18 nativeBuildInputs = [ pkg-config ];
19 buildInputs = [ libsigcxx ];
21 patches = [ ./libpar2-0.4-external-verification.patch ];
23 CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11";
26 homepage = "https://parchive.sourceforge.net/";
27 license = lib.licenses.gpl2Plus;
28 description = "Library for using Parchives (parity archive volume sets)";
29 platforms = lib.platforms.unix;