ocamlPackages.libc: init at 0.0.1

This commit is contained in:
Vincent Laporte 2024-05-22 07:21:00 +02:00 committed by Vincent Laporte
parent 4f31cd3de1
commit b7ae136623
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ 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;
};
}

View File

@ -956,6 +956,8 @@ let
letsencrypt-mirage = callPackage ../development/ocaml-modules/letsencrypt/mirage.nix { };
libc = callPackage ../development/ocaml-modules/libc { };
lilv = callPackage ../development/ocaml-modules/lilv {
inherit (pkgs) lilv;
};