lol
at 23.05-pre 26 lines 806 B view raw
1{ lib, stdenv, fetchurl, buildDunePackage, pkg-config, gsl, darwin, dune-configurator }: 2 3buildDunePackage rec { 4 pname = "gsl"; 5 version = "1.24.3"; 6 7 useDune2 = true; 8 9 minimumOCamlVersion = "4.08"; 10 11 src = fetchurl { 12 url = "https://github.com/mmottl/gsl-ocaml/releases/download/${version}/gsl-${version}.tbz"; 13 sha256 = "1mpzcgbrha2l8iikqbmn32668v2mnnsykxg5n5jgs0qnskn2nvrn"; 14 }; 15 16 nativeBuildInputs = [ pkg-config ]; 17 buildInputs = [ dune-configurator gsl ]; 18 propagatedBuildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Accelerate ]; 19 20 meta = with lib; { 21 homepage = "https://mmottl.github.io/gsl-ocaml/"; 22 description = "OCaml bindings to the GNU Scientific Library"; 23 license = licenses.gpl3Plus; 24 maintainers = with maintainers; [ vbgl ]; 25 }; 26}