ocamlPackages.extunix: init at 0.4.4
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
buildDunePackage,
|
||||
fetchFromGitHub,
|
||||
dune-configurator,
|
||||
ppxlib,
|
||||
}:
|
||||
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "extunix";
|
||||
version = "0.4.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ygrek";
|
||||
repo = "extunix";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-7wJDGv19etkDHRwwQ+WONtJswxNMjr2Q2Vhis4WgFek=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/dune --replace-fail 'libraries unix bigarray bytes' 'libraries unix bigarray'
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
dune-configurator
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ppxlib
|
||||
];
|
||||
|
||||
# need absolute paths outside from sandbox
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Collection of thin bindings to various low-level system API";
|
||||
homepage = "https://github.com/ygrek/extunix";
|
||||
changelog = "https://github.com/ygrek/extunix/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.lgpl21Only;
|
||||
maintainers = with lib.maintainers; [ redianthus ];
|
||||
};
|
||||
})
|
||||
@@ -574,6 +574,8 @@ let
|
||||
|
||||
extlib-1-7-7 = callPackage ../development/ocaml-modules/extlib/1.7.7.nix { };
|
||||
|
||||
extunix = callPackage ../development/ocaml-modules/extunix/default.nix { };
|
||||
|
||||
ezjsonm = callPackage ../development/ocaml-modules/ezjsonm { };
|
||||
|
||||
ezjsonm-encoding = callPackage ../development/ocaml-modules/ezjsonm-encoding { };
|
||||
|
||||
Reference in New Issue
Block a user