ocamlPackages.dbf: init at 1.1.0

This commit is contained in:
deltadelta 2022-01-04 17:51:12 +01:00 committed by Vincent Laporte
parent e01959e3ce
commit a207408aa2
3 changed files with 31 additions and 0 deletions

View file

@ -2816,6 +2816,7 @@
email = "contact@libellules.eu";
name = "Dara Ly";
github = "tournemire";
githubId = 20159432;
};
deltaevo = {
email = "deltaduartedavid@gmail.com";

View file

@ -0,0 +1,28 @@
{ lib, buildDunePackage, fetchFromGitHub, ppx_cstruct, rresult, cstruct-unix
, core_kernel }:
buildDunePackage rec {
pname = "dbf";
version = "0.1.1";
minimalOCamlVersion = "4.08";
useDune2 = true;
src = fetchFromGitHub {
owner = "pveber";
repo = "dbf";
rev = "${version}";
sha256 = "sha256-h1K5YDLbXGEJi/quKXvSR0gZ+WkBzut7AsVFv+Bm8/g=";
};
buildInputs = [ ppx_cstruct ];
propagatedBuildInputs = [ rresult cstruct-unix core_kernel ];
meta = with lib; {
description = "DBF format parsing";
homepage = "https://github.com/pveber/dbf";
license = licenses.isc;
maintainers = [ maintainers.deltadelta ];
};
}

View file

@ -254,6 +254,8 @@ let
data-encoding = callPackage ../development/ocaml-modules/data-encoding { };
dbf = callPackage ../development/ocaml-modules/dbf { };
decompress = callPackage ../development/ocaml-modules/decompress { };
diet = callPackage ../development/ocaml-modules/diet { };