depot/third_party/nixpkgs/pkgs/development/ocaml-modules/libc/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

26 lines
523 B
Nix

{ lib
, buildDunePackage
, fetchurl
, config
}:
buildDunePackage rec {
pname = "libc";
version = "0.0.1";
src = fetchurl {
url = "https://github.com/ocaml-sys/libc.ml/releases/download/${version}/libc-${version}.tbz";
hash = "sha256-e5x5Yae7V6qOpq+aLZaV+6L9ldy9qDqd9Kc8nkAsENg=";
};
buildInputs = [
config
];
meta = {
description = "Raw definitions and bindings to platforms system libraries";
homepage = "https://github.com/ocaml-sys/libc.ml";
license = lib.licenses.mit;
};
}