nixpkgs/pkgs/development/libraries/science/math/m4rie/default.nix

40 lines
962 B
Nix
Raw Normal View History

2018-04-11 20:39:59 +02:00
{ stdenv
, fetchFromBitbucket
, autoreconfHook
, m4ri
}:
stdenv.mkDerivation rec {
version = "20150908";
name = "m4rie-${version}";
src = fetchFromBitbucket {
owner = "malb";
repo = "m4rie";
rev = "release-${version}";
sha256 = "0r8lv46qx5mkz5kp3ay2jnsp0mbhlqr5z2z220wdk73wdshcznss";
};
doCheck = true;
buildInputs = [
m4ri
];
nativeBuildInputs = [
autoreconfHook
];
meta = with stdenv.lib; {
homepage = https://malb.bitbucket.io/m4rie/;
description = "Library for matrix multiplication, reduction and inversion over GF(2^k) for 2 <= k <= 10";
longDescription = ''
M4RIE is a library for fast arithmetic with dense matrices over small finite fields of even characteristic.
It uses the M4RI library, implementing the same operations over the finite field F2.
'';
license = licenses.gpl2Plus;
maintainers = with maintainers; [ timokau ];
platforms = platforms.linux;
};
}