summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/bigarray-compat/default.nix
blob: fd690cfdd5b3ffd4a7d2ca29638c9dd7b9f84c63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildDunePackage, fetchFromGitHub }:

buildDunePackage rec {
  pname = "bigarray-compat";
  version = "1.0.0";

  useDune2 = true;

  minimalOCamlVersion = "4.02";

  src = fetchFromGitHub {
    owner = "mirage";
    repo = pname;
    rev = "v${version}";
    sha256 = "06j1dwlpisxshdd0nab4n4x266gg1s1n8na16lpgw3fvcznwnimz";
  };

  meta = {
    description = "Compatibility library to use Stdlib.Bigarray when possible";
    inherit (src.meta) homepage;
    license = lib.licenses.isc;
    maintainers = [ lib.maintainers.vbgl ];
  };
}