summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/dbf/default.nix
blob: d2dad611bf466736f6cdcc2d4b6b1ccdbbcbce1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 ];
  };
}