Files
nixpkgs/pkgs/development/ocaml-modules/plotkicadsch/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

51 lines
758 B
Nix

{
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 ];
};
}