2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, buildDunePackage, fetchFromGitHub, stdlib-shims }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "owl-base";
|
2020-05-29 06:06:01 +00:00
|
|
|
version = "0.9.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-05-29 06:06:01 +00:00
|
|
|
owner = "owlbarn";
|
|
|
|
repo = "owl";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0xxchsymmdbwszs6barqq8x4vqz5hbap64yxq82c2la9sdxgk0vv";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ stdlib-shims ];
|
|
|
|
|
2020-05-29 06:06:01 +00:00
|
|
|
minimumOCamlVersion = "4.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Numerical computing library for Ocaml";
|
|
|
|
homepage = "https://ocaml.xyz";
|
2020-05-29 06:06:01 +00:00
|
|
|
changelog = "https://github.com/owlbarn/owl/releases";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.x86_64;
|
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|