2020-03-15 17:14:11 +00:00
|
|
|
{ stdenv, buildDunePackage, fetchFromGitHub, stdlib-shims }:
|
2019-11-26 12:18:34 +00:00
|
|
|
|
2020-03-15 17:14:11 +00:00
|
|
|
buildDunePackage rec {
|
2019-11-26 12:18:34 +00:00
|
|
|
pname = "owl-base";
|
2020-05-27 17:25:59 +01:00
|
|
|
version = "0.9.0";
|
2019-11-26 12:18:34 +00:00
|
|
|
|
2020-03-15 17:14:11 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2019-11-26 12:18:34 +00:00
|
|
|
src = fetchFromGitHub {
|
2020-05-27 17:25:59 +01:00
|
|
|
owner = "owlbarn";
|
|
|
|
repo = "owl";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0xxchsymmdbwszs6barqq8x4vqz5hbap64yxq82c2la9sdxgk0vv";
|
2019-11-26 12:18:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ stdlib-shims ];
|
|
|
|
|
2020-05-27 17:25:59 +01:00
|
|
|
minimumOCamlVersion = "4.10";
|
2019-11-26 12:18:34 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Numerical computing library for Ocaml";
|
|
|
|
homepage = "https://ocaml.xyz";
|
2020-05-27 17:25:59 +01:00
|
|
|
changelog = "https://github.com/owlbarn/owl/releases";
|
2019-11-26 12:18:34 +00:00
|
|
|
platforms = platforms.x86_64;
|
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|