depot/third_party/nixpkgs/pkgs/development/ocaml-modules/npy/default.nix
Default email d0d8e8fc71 Project import generated by Copybara.
GitOrigin-RevId: d3f7e969b9860fb80750147aeb56dab1c730e756
2021-03-23 19:22:30 +00:00

29 lines
645 B
Nix

{ lib, buildDunePackage, fetchFromGitHub, numpy, camlzip }:
buildDunePackage rec {
pname = "npy";
version = "0.0.9";
useDune2 = true;
minimumOCamlVersion = "4.06";
src = fetchFromGitHub {
owner = "LaurentMazare";
repo = "${pname}-ocaml";
rev = version;
sha256 = "1fryglkm20h6kdqjl55b7065b34bdg3g3p6j0jv33zvd1m5888m1";
};
propagatedBuildInputs = [ camlzip ];
checkInputs = [ numpy ];
doCheck = true;
meta = with lib; {
inherit (src.meta) homepage;
description = "OCaml implementation of the Npy format spec";
maintainers = [ maintainers.bcdarwin ];
license = licenses.asl20;
};
}