depot/third_party/nixpkgs/pkgs/development/libraries/cm256cc/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

24 lines
611 B
Nix

{ lib, 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 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 ];
license = licenses.gpl3;
};
}