mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
ocamlPackages.{owl-base,owl}: init at 0.7.1
This commit is contained in:
parent
777efe8425
commit
d016a507ea
25
pkgs/development/ocaml-modules/owl-base/default.nix
Normal file
25
pkgs/development/ocaml-modules/owl-base/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, buildDunePackage, fetchFromGitHub, integers, stdlib-shims }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "owl-base";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "owlbarn";
|
||||
repo = "owl";
|
||||
rev = version;
|
||||
sha256 = "1v4jfn3w18zq188f9gskx9ffja3xx59j2mgrw6azp8lsbqixg5xk";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ stdlib-shims ];
|
||||
|
||||
minimumOCamlVersion = "4.06";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Numerical computing library for Ocaml";
|
||||
homepage = "https://ocaml.xyz";
|
||||
platforms = platforms.x86_64;
|
||||
maintainers = [ maintainers.bcdarwin ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
15
pkgs/development/ocaml-modules/owl/default.nix
Normal file
15
pkgs/development/ocaml-modules/owl/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ stdenv, buildDunePackage, fetchFromGitHub, alcotest
|
||||
, eigen, stdio, stdlib-shims, openblasCompat, owl-base
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "owl";
|
||||
|
||||
inherit (owl-base) version src meta;
|
||||
|
||||
buildInputs = [ eigen ];
|
||||
checkInputs = [ alcotest ];
|
||||
propagatedBuildInputs = [ stdio stdlib-shims openblasCompat owl-base ];
|
||||
|
||||
# tests not enabled for now due to owlbarn/owl/issues/460
|
||||
}
|
@ -605,6 +605,10 @@ let
|
||||
|
||||
owee = callPackage ../development/ocaml-modules/owee { };
|
||||
|
||||
owl-base = callPackage ../development/ocaml-modules/owl-base { };
|
||||
|
||||
owl = callPackage ../development/ocaml-modules/owl { };
|
||||
|
||||
ounit = callPackage ../development/ocaml-modules/ounit { };
|
||||
|
||||
pgsolver = callPackage ../development/ocaml-modules/pgsolver { };
|
||||
|
Loading…
Reference in New Issue
Block a user