nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv
2, fetchFromBitbucket
3, autoreconfHook
4}:
5
6stdenv.mkDerivation rec {
7 version = "20200125";
8 pname = "m4ri";
9
10 src = fetchFromBitbucket {
11 owner = "malb";
12 repo = "m4ri";
13 rev = "release-${version}";
14 sha256 = "1dxgbv6zdyki3h61qlv7003wzhy6x14zmcaz9x19md1i7ng07w1k";
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.unix;
29 };
30}