depot/pkgs/development/ocaml-modules/libc/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00: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;
};
}