blob: eea986e095906a9d7e6929b8d7ac9cb9a82c5f25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
buildDunePackage,
github,
yojson,
atdgen,
atdgen-runtime,
}:
buildDunePackage {
pname = "github-data";
inherit (github) version src;
postPatch = ''
substituteInPlace lib_data/dune --replace-warn 'atdgen)' 'atdgen-runtime)'
'';
nativeBuildInputs = [
atdgen
];
propagatedBuildInputs = [
yojson
atdgen-runtime
];
meta = github.meta // {
description = "GitHub APIv3 data library";
};
}
|