summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/op/openspecfun/package.nix
blob: a6dee8bea5df1f8f4efa03ac884bc5911b09a181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  lib,
  stdenv,
  fetchFromGitHub,
  gfortran,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "openspecfun";
  version = "0.5.7";
  src = fetchFromGitHub {
    owner = "JuliaMath";
    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/JuliaMath/openspecfun";
    license = lib.licenses.mit;
    maintainers = [ ];
    platforms = lib.platforms.all;
  };
})