Files
nixpkgs/pkgs/development/ocaml-modules/dbf/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

40 lines
689 B
Nix

{
lib,
buildDunePackage,
fetchFromGitHub,
ppx_cstruct,
rresult,
cstruct-unix,
core_kernel,
}:
buildDunePackage rec {
pname = "dbf";
version = "0.2.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchFromGitHub {
owner = "pveber";
repo = "dbf";
rev = "v${version}";
hash = "sha256-096GodM3J/4dsVdylG+6xz/p6ogUkhDGdFjiPwl/jLQ=";
};
buildInputs = [ ppx_cstruct ];
propagatedBuildInputs = [
rresult
cstruct-unix
core_kernel
];
meta = {
description = "DBF format parsing";
homepage = "https://github.com/pveber/dbf";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.deltadelta ];
};
}