depot/pkgs/development/libraries/science/math/m4ri/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
629 B
Nix

{ lib, stdenv
, fetchFromBitbucket
, autoreconfHook
}:
stdenv.mkDerivation rec {
version = "20200125";
pname = "m4ri";
src = fetchFromBitbucket {
owner = "malb";
repo = "m4ri";
rev = "release-${version}";
sha256 = "1dxgbv6zdyki3h61qlv7003wzhy6x14zmcaz9x19md1i7ng07w1k";
};
doCheck = true;
nativeBuildInputs = [
autoreconfHook
];
meta = with lib; {
homepage = "https://malb.bitbucket.io/m4ri/";
description = "Library to do fast arithmetic with dense matrices over F_2";
license = licenses.gpl2Plus;
maintainers = teams.sage.members;
platforms = platforms.unix;
};
}