depot/third_party/nixpkgs/pkgs/development/ocaml-modules/posix/base.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

26 lines
585 B
Nix

{ lib, buildDunePackage, fetchFromGitHub
, ctypes, integers
}:
buildDunePackage rec {
pname = "posix-base";
version = "2.0.0";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-posix";
rev = "v${version}";
sha256 = "18px8hfqcfy2lk8105ki3hrxxigs44gs046ba0fqda6wzd0hr82b";
};
useDune2 = true;
propagatedBuildInputs = [ ctypes integers ];
meta = {
homepage = "https://www.liquidsoap.info/ocaml-posix/";
description = "Base module for the posix bindings";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}