opam-version: "2.0"
maintainer: "Jean-Noel Avila <jn.avila@free.fr>"
homepage: "https://jnavila.github.io/plotkicadsch/"
bug-reports: "https://github.com/jnavila/plotkicadsch/issues"
license: "ISC"
dev-repo: "git+https://github.com/jnavila/plotkicadsch.git"
build: [
  [ "jbuilder" "subst" "-p" name ] {pinned}
  [ "jbuilder" "build" "-p" name "-j" jobs ]
]
depends: [
  "ocaml"
  "jbuilder"
  "kicadsch" {= "0.3.0"}
  "tyxml" {>= "4.0.0"}
  "lwt" {>= "3.1.0" & < "4.0.0"}
  "lwt_ppx" {build}
  "sha"
  "git" {< "2.0.0"}
  "git-unix" {< "2.0.0"}
  "base64" {< "3.0.0"}
  "patience_diff" {>= "v0.10.0" & < "v0.12"}
  "core_kernel" {< "v0.12"}
  "cmdliner"
]
synopsis: "Schematic plotter"
description: """
PlotKicadsch is a small tool to export Kicad Sch files to SVG pictures. In the future, export to other formats may be available (PDF, PNG).

This package also provides the `plotgitsch` command which allows to visually compare git revisions of schematics:

![Visual diff](docs/svg_diff.png)

For more information type `plotgitsch --help`.

## Objectives

This project is mainly an attempt at using ocaml with functional programing on a pet real-world project.

The quality of the output is not a first requirement (meaning: not supposed to match Kicad one to one), but the accuracy of positioning matters."""
authors: "Jean-Noel Avila <jn.avila@free.fr>"
url {
  src:
    "https://github.com/jnavila/plotkicadsch/releases/download/v0.3.0/plotkicadsch-0.3.0.tbz"
  checksum: "md5=637f205fbe0c524716566a32b1756c64"
}
