|
|
|
@ -14,6 +14,12 @@ stdenv.mkDerivation rec { |
|
|
|
|
nativeBuildInputs = [ cmake ]; |
|
|
|
|
buildInputs = [ boost ]; |
|
|
|
|
|
|
|
|
|
# https://github.com/f4exb/cm256cc/issues/16 |
|
|
|
|
postPatch = '' |
|
|
|
|
substituteInPlace libcm256cc.pc.in \ |
|
|
|
|
--replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "Fast GF(256) Cauchy MDS Block Erasure Codec in C++"; |
|
|
|
|
homepage = "https://github.com/f4exb/cm256cc"; |
|
|
|
|