depot/third_party/nixpkgs/pkgs/development/ocaml-modules/asetmap/default.nix

31 lines
544 B
Nix

{
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; };
}