33 lines
669 B
Nix
33 lines
669 B
Nix
|
{ stdenv
|
||
|
, fetchFromGitHub
|
||
|
, cmake
|
||
|
, gnum4
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "suitesparse-graphblas";
|
||
|
version = "3.2.1";
|
||
|
|
||
|
outputs = [ "out" "dev" ];
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "DrTimothyAldenDavis";
|
||
|
repo = "GraphBLAS";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "AAwwzrpKFHy40Ldm6hTO6L0FWPYwi3kJj3zrshFwYas=";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
cmake
|
||
|
gnum4
|
||
|
];
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "Graph algorithms in the language of linear algebra";
|
||
|
homepage = "http://faculty.cse.tamu.edu/davis/GraphBLAS.html";
|
||
|
license = licenses.asl20;
|
||
|
maintainers = with maintainers; [];
|
||
|
platforms = with platforms; unix;
|
||
|
};
|
||
|
}
|