@@ -0,0 +1,30 @@
1+{ stdenv
2+, fetchFromBitbucket
3+, autoreconfHook
4+}:
5+
6+stdenv.mkDerivation rec {
7+ version = "20140914";
8+ name = "m4ri-${version}";
9+
10+ src = fetchFromBitbucket {
11+ owner = "malb";
12+ repo = "m4ri";
13+ rev = "release-${version}";
14+ sha256 = "0xfg6pffbn8r1s0y7bn9b8i55l00d41dkmhrpf7pwk53qa3achd3";
15+ };
16+
17+ doCheck = true;
18+
19+ nativeBuildInputs = [
20+ autoreconfHook
21+ ];
22+
23+ meta = with stdenv.lib; {
24+ homepage = https://malb.bitbucket.io/m4ri/;
25+ description = "Library to do fast arithmetic with dense matrices over F_2";
26+ license = licenses.gpl2Plus;
27+ maintainers = with maintainers; [ timokau ];
28+ platforms = platforms.linux;
29+ };
30+}