nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 29 lines 653 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 gfortran, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "openspecfun"; 10 version = "0.5.7"; 11 src = fetchFromGitHub { 12 owner = "JuliaLang"; 13 repo = "openspecfun"; 14 rev = "v${finalAttrs.version}"; 15 sha256 = "sha256-fx9z6bbU2V4x6Pr7/vmlSxkWxZ6qTYuPxnfqKLv08CA="; 16 }; 17 18 makeFlags = [ "prefix=$(out)" ]; 19 20 nativeBuildInputs = [ gfortran ]; 21 22 meta = { 23 description = "Collection of special mathematical functions"; 24 homepage = "https://github.com/JuliaLang/openspecfun"; 25 license = lib.licenses.mit; 26 maintainers = [ lib.maintainers.ttuegel ]; 27 platforms = lib.platforms.all; 28 }; 29})