about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/libc/default.nix
blob: 13e0f04ddfc78ff7a8b6c0ed3d6be45291c2515f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
  };
}