mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 09:03:42 +00:00
ocamlPackages.libc: init at 0.0.1
This commit is contained in:
parent
4f31cd3de1
commit
b7ae136623
26
pkgs/development/ocaml-modules/libc/default.nix
Normal file
26
pkgs/development/ocaml-modules/libc/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user