Skip to content

Commit

Permalink
ocamlPackages.dbf: init at 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
capydara authored and vbgl committed Jan 5, 2022
1 parent e01959e commit a207408
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2816,6 +2816,7 @@
email = "contact@libellules.eu";
name = "Dara Ly";
github = "tournemire";
githubId = 20159432;
};
deltaevo = {
email = "deltaduartedavid@gmail.com";
Expand Down
28 changes: 28 additions & 0 deletions pkgs/development/ocaml-modules/dbf/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit a207408

Please sign in to comment.