Commit graph

18 commits

Author SHA1 Message Date
Evils e2661b00f7 kicad: add sanitizeAddress & sanitizeThreads options
only kicad 5.99 or later are affected
was briefly -DKICAD_SANITIZE=ON
are mutually exclusive according to a compiler error
2021-05-14 09:03:53 +02:00
Evils e37d772beb kicad: avoid rebuild on date change
the date changes more often than most of the inputs
the date can also change on the base without other changes
  this causes a substantial rebuild for no reason
2021-05-14 09:03:53 +02:00
Evils 7dc05fed4f kicad: bunch of minor cleanup
squash of the following

kicad: makeFlags: optional -> optionals

kicad: remove -1 in version string, no more patch

should have been removed in a52e974cff

kicad: remove berce as maintainer

kicad: gtk3 -> wxGTK.gtk

use wxGTK.gtk rather than gtk3

add graphviz as doxygen wants it (no idea if doxygen is required...)
  minor compilation warning

kicad: rearrange / sort inputs

separate optional deps and options

kicad: clear some configuration warnings

linux specific stuff that's wanted by something in config

kicad: fix opening bug report in firefox wayland

may be removed when kicad goes native?
2021-05-14 09:03:53 +02:00
Sandro Jäckel af5886a2a3
kicad: remove unused inputs 2021-02-22 02:27:52 +01:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Evils a52e974cff kicad-unstable: 2020-10-09 -> 2020-11-07
patch for issue 72248 no longer applies
  issue doesn't seem to occur without it anymore...
2020-11-07 16:29:52 +01:00
Matt Huszagh f2cb2c447d kicad: add srcs parameter to allow configuring kicad versions
This also exposes the full src and version parameters for each
derivation, allowing them to overrideable by srcs.
2020-10-12 11:32:44 -07:00
Matt Huszagh 9d13164b27 kicad: Rename <feature>Support arguments to with<Feature>
Also: Use assertions instead of silently ignoring arguments that don't cooperate
(occ+oce) / won't compile (aarch64 + oce).

base.nix no longer provides default argument values since these are
provided by default.nix.
2020-10-12 11:32:04 -07:00
Matt Huszagh 85d5195f70 kicad: remove unnecessary with lib; statements 2020-10-10 16:22:04 -07:00
Matt Huszagh 104aca941a kicad-unstable: 2020-08-22 -> 2020-10-09
base.nix requires gtk3 to compile
2020-10-09 07:36:42 -07:00
Evils 43a6b7b886 kicad: use hash rather than date for package names
to prevent duplication when just the date changes

kicad.libraries should be fixed output derivations?
2020-08-23 13:24:16 +02:00
Frederik Rietdijk bc3c3b4a59 pythonPackages.kicad: bindings to kicad
Add the Python bindings for kicad.

Following now functions

    $ nix run "(import ./. {}).python3.withPackages(ps: with ps; [ kicad  ])" -c python3 -c "import pcbnew"

Have not tested this any further.
2020-05-23 15:44:14 +02:00
Evils 95e4e33bdf kicad-unstable-small: init to make kicad-unstable
the -small packages depend on all hydra buildable dependencies
the non-small ones depend on packages3d which exceeds hydra's limit

set platforms to all (kicad is cross-platform)
clarify package differences in the description

set maintainers on just the top level derivation

switch -unstable to not save debug symbols

indicate patch in version string

note broken dependencies
2020-05-07 01:54:50 +02:00
Evils 18a1b153ac kicad: expose base and libraries attributes 2020-05-07 01:54:50 +02:00
Evils e4786f3a1c kicad: update & cleanup
minor simplification, fix base version

split i18n and get from gitlab

correct wrapper pythonpath, cleanup build output

update & fake git describe

correct base.nix to fit contributing.md
2020-01-02 03:45:34 +01:00
Evils 6119ca27bb kicad: split wrapping and building 2020-01-02 03:45:34 +01:00
Evils c61170168d kicad: switch to best try from unstable and 5.1.5
make unstable use kicad-libraries
  still using a link in $out..., not sure that's a bad thing
  this allows setting that path in makeWrapperArgs
    can't use $out there

kicad-with-packages3d -> kicad and kicad-small

default to OCCT, OCE is outdated
  enforce OCCT on aarch64, where OCE is broken
  withOCE flag allows using OCE on non-aarch64
2020-01-02 03:45:34 +01:00