14 pname = "kicad-${name}";
15 version = builtins.substring 0 10 (libSrc name).rev;
21 ++ lib.optionals (name == "packages3d") [
27 postInstall = lib.optional (name == "packages3d") ''
28 find $out -type f -name '*.step' | parallel 'stepreduce {} {} && zip -9 {.}.stpZ {} && rm {}'
32 license = lib.licenses.cc-by-sa-40;
33 platforms = lib.platforms.all;
38 symbols = mkLib "symbols";
39 templates = mkLib "templates";
40 footprints = mkLib "footprints";
41 packages3d = mkLib "packages3d";