depot/third_party/nixpkgs/pkgs/development/ocaml-modules/plotkicadsch/default.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

50 lines
764 B
Nix

{
lib,
buildDunePackage,
replaceVars,
base64,
cmdliner,
digestif,
git-unix,
kicadsch,
lwt,
lwt_ppx,
sha,
tyxml,
coreutils,
imagemagick,
}:
buildDunePackage rec {
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 = with lib; {
description = "Tool to export Kicad Sch files to SVG pictures";
homepage = "https://github.com/jnavila/plotkicadsch";
license = licenses.isc;
maintainers = with maintainers; [ leungbk ];
};
}