Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchFromGitHub, ppx_cstruct, rresult, cstruct-unix
2, core_kernel }:
3
4buildDunePackage rec {
5 pname = "dbf";
6 version = "0.1.1";
7
8 minimalOCamlVersion = "4.08";
9
10 duneVersion = "3";
11
12 src = fetchFromGitHub {
13 owner = "pveber";
14 repo = "dbf";
15 rev = version;
16 hash = "sha256-h1K5YDLbXGEJi/quKXvSR0gZ+WkBzut7AsVFv+Bm8/g=";
17 };
18
19 buildInputs = [ ppx_cstruct ];
20 propagatedBuildInputs = [ rresult cstruct-unix core_kernel ];
21
22 meta = with lib; {
23 description = "DBF format parsing";
24 homepage = "https://github.com/pveber/dbf";
25 license = licenses.isc;
26 maintainers = [ maintainers.deltadelta ];
27 };
28}