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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
lib,
buildDunePackage,
replaceVars,
base64,
cmdliner,
digestif,
git-unix,
kicadsch,
lwt,
lwt_ppx,
sha,
tyxml,
coreutils,
imagemagick,
}:
buildDunePackage {
pname = "plotkicadsch";
duneVersion = "3";
inherit (kicadsch) src version;
minimalOCamlVersion = "4.09";
patches = [
(replaceVars ./fix-paths.patch {
inherit coreutils imagemagick;
})
];
buildInputs = [
base64
cmdliner
digestif
git-unix
kicadsch
lwt
lwt_ppx
sha
tyxml
];
meta = {
description = "Tool to export Kicad Sch files to SVG pictures";
homepage = "https://github.com/jnavila/plotkicadsch";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ leungbk ];
};
}
|