depot/third_party/nixpkgs/pkgs/development/libraries/cm256cc/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
584 B
Nix

{ stdenv, fetchFromGitHub, cmake, boost } :
stdenv.mkDerivation rec {
pname = "cm256cc";
version = "1.0.5";
src = fetchFromGitHub {
owner = "f4exb";
repo = "cm256cc";
rev = "v${version}";
sha256 = "0d16y3lhdwr644am4sxqpshpbc3qik6dgr1w2c39vy75w9ff61a0";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost ];
meta = with stdenv.lib; {
description = "Fast GF(256) Cauchy MDS Block Erasure Codec in C++";
homepage = "https://github.com/f4exb/cm256cc";
platforms = platforms.linux;
maintainers = with maintainers; [ alkeryn ];
};
}