1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 ppx_cstruct, 6 rresult, 7 cstruct-unix, 8 core_kernel, 9}: 10 11buildDunePackage rec { 12 pname = "dbf"; 13 version = "0.2.0"; 14 15 minimalOCamlVersion = "4.08"; 16 17 duneVersion = "3"; 18 19 src = fetchFromGitHub { 20 owner = "pveber"; 21 repo = "dbf"; 22 rev = "v${version}"; 23 hash = "sha256-096GodM3J/4dsVdylG+6xz/p6ogUkhDGdFjiPwl/jLQ="; 24 }; 25 26 buildInputs = [ ppx_cstruct ]; 27 propagatedBuildInputs = [ 28 rresult 29 cstruct-unix 30 core_kernel 31 ]; 32 33 meta = with lib; { 34 description = "DBF format parsing"; 35 homepage = "https://github.com/pveber/dbf"; 36 license = licenses.isc; 37 maintainers = [ maintainers.deltadelta ]; 38 }; 39}