diff options
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/dbf')
-rw-r--r-- | nixpkgs/pkgs/development/ocaml-modules/dbf/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/dbf/default.nix b/nixpkgs/pkgs/development/ocaml-modules/dbf/default.nix new file mode 100644 index 000000000000..664cb5dead17 --- /dev/null +++ b/nixpkgs/pkgs/development/ocaml-modules/dbf/default.nix @@ -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"; + + duneVersion = "3"; + + src = fetchFromGitHub { + owner = "pveber"; + repo = "dbf"; + rev = version; + hash = "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 ]; + }; +} |