about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/bigarray-compat/default.nix
blob: be343c444171aee0aa6cf48e70f6c6fe955c2c54 (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.1.0";

  useDune2 = true;

  minimalOCamlVersion = "4.02";

  src = fetchFromGitHub {
    owner = "mirage";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-2JVopggK2JuXWEPu8qn12F1jQIJ9OV89XY1rHtUqLkI=";
  };

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