diff options
author | Timo Kaufmann <timokau@zoho.com> | 2018-04-11 20:39:59 +0200 |
---|---|---|
committer | Timo Kaufmann <timokau@zoho.com> | 2018-04-12 13:40:27 +0200 |
commit | 7d625f6c0885eb368a2337fa50709e2fba418153 (patch) | |
tree | 977263704569b5e577fa37e604d8bb85b8baf57f /pkgs/development/libraries/science/math/m4rie | |
parent | 077bf8de4c0fbd768a543ba091931c2d0006a0ed (diff) | |
download | nixpkgs-7d625f6c0885eb368a2337fa50709e2fba418153.tar nixpkgs-7d625f6c0885eb368a2337fa50709e2fba418153.tar.gz nixpkgs-7d625f6c0885eb368a2337fa50709e2fba418153.tar.bz2 nixpkgs-7d625f6c0885eb368a2337fa50709e2fba418153.tar.lz nixpkgs-7d625f6c0885eb368a2337fa50709e2fba418153.tar.xz nixpkgs-7d625f6c0885eb368a2337fa50709e2fba418153.tar.zst nixpkgs-7d625f6c0885eb368a2337fa50709e2fba418153.zip |
m4rie: init at 20150908
Diffstat (limited to 'pkgs/development/libraries/science/math/m4rie')
-rw-r--r-- | pkgs/development/libraries/science/math/m4rie/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/libraries/science/math/m4rie/default.nix b/pkgs/development/libraries/science/math/m4rie/default.nix new file mode 100644 index 00000000000..23fc03655cf --- /dev/null +++ b/pkgs/development/libraries/science/math/m4rie/default.nix @@ -0,0 +1,39 @@ +{ 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; + }; +} |