30 lines
629 B
Nix
30 lines
629 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
gfortran,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "openspecfun";
|
|
version = "0.5.7";
|
|
src = fetchFromGitHub {
|
|
owner = "JuliaLang";
|
|
repo = "openspecfun";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-fx9z6bbU2V4x6Pr7/vmlSxkWxZ6qTYuPxnfqKLv08CA=";
|
|
};
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
nativeBuildInputs = [ gfortran ];
|
|
|
|
meta = {
|
|
description = "Collection of special mathematical functions";
|
|
homepage = "https://github.com/JuliaLang/openspecfun";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|