summary refs log tree commit diff
path: root/pkgs/development/libraries/cm256cc/default.nix
blob: 09b0ffba98ba6a815d6693d69a42261d6f2f5602 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, stdenv, fetchFromGitHub, cmake, boost } :

stdenv.mkDerivation rec {
  pname = "cm256cc";
  version = "1.1.0";

  src = fetchFromGitHub {
    owner = "f4exb";
    repo = "cm256cc";
    rev = "v${version}";
    sha256 = "sha256-T7ZUVVYGdzAialse//MoqWCVNBpbZvzWMAKc0cw7O9k=";
  };

  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;
  };
}