mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
50 lines
765 B
Nix
50 lines
765 B
Nix
{ lib
|
|
, buildDunePackage
|
|
, substituteAll
|
|
, 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 = [
|
|
(substituteAll {
|
|
src = ./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 ];
|
|
};
|
|
}
|