depot/third_party/nixpkgs/pkgs/development/ocaml-modules/asetmap/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

26 lines
524 B
Nix

{ lib
, fetchurl
, buildDunePackage
, topkg
, findlib
, ocamlbuild
, ocaml
}:
buildDunePackage rec {
pname = "asetmap";
version = "0.8.1";
src = fetchurl {
url = "https://github.com/dbuenzli/asetmap/archive/refs/tags/v${version}.tar.gz";
sha256 = "051ky0k62xp4inwi6isif56hx5ggazv4jrl7s5lpvn9cj8329frj";
};
strictDeps = true;
nativeBuildInputs = [ topkg findlib ocamlbuild ocaml ];
buildInputs = [ topkg ];
inherit (topkg) buildPhase installPhase;
meta = { inherit (ocaml.meta) platforms; };
}