mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
29 lines
662 B
Nix
29 lines
662 B
Nix
|
{ 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 ];
|
||
|
};
|
||
|
}
|