Commit Graph

45 Commits

Author SHA1 Message Date
Evils
cce076bd24 kicad-unstable: 2023-03-29 -> 2023-04-14
workaround for upstream issue 14346 no longer needed
2023-04-15 12:32:23 +02:00
Evils
23849267ee kicad-unstable: fix ngspice tests 2023-03-30 18:53:53 +02:00
Evils
4f0de9463a kicad-unstable: 2023-02-14 -> 2023-03-29
includes a fix for upstream issue 14346
  (attempting to installing pcbnew.py outside of $out)
2023-03-30 09:22:08 +02:00
Evils
d8020e1e17 kicad: remove withOCC and more cmakeFlags cleanup
OCC is no longer optional
RPATH apparently no longer contains references to /build/
KICAD_SCRIPTING_WXPYTHON is ON by default

sort some of the options a bit

and remove stray lndir
2023-03-28 18:57:29 +02:00
Evils
788df5456b kicad: 7.0.0 -> 7.0.1
remove now integrated patches
2023-03-28 18:57:29 +02:00
Evils
08c96035b9 kicad: add patches to accept wxwidgets 3.2.2.1 2023-02-16 14:25:11 +01:00
Evils
c8d22b3c2a kicad: 6.0.11 -> 7.0.0 2023-02-16 14:25:11 +01:00
Felix Buehler
cdb39a86e0 treewide: use optionalString 2023-02-13 21:52:34 +01:00
Evils
8a6772fee6 kicad: bunch of cleanup
add patch to ensure writability of created projects
  (upstream issue 12941)

disable the qa_eeschema test as it fails to find the ngspice lib
  which allows re-enabling tests as a whole on unstable
  there is a patch for this, but it still fails with something else...
  (upstream issue 12491)
  and remove ngspice workaround that doesn't work anymore

set meta.mainProgram
  since for kicad-unstable, the binary isn't called kicad-unstable
2022-12-20 15:14:31 +01:00
Evils
1c3de7e308 kicad-unstable: 2022-09-18 -> 2022-12-19
includes a fix for parallel builds sometimes failing

disables test
  reenabled in next commit which works around the specific failure
2022-12-20 15:14:31 +01:00
Sandro Jäckel
c7f5becba3 dbus: remove unused daemon passhtru 2022-11-21 20:23:00 +01:00
Weijia Wang
30d66019b4 wxGTK31: drop gtk2 support 2022-10-27 15:30:15 +02:00
Evils
77b76b92d8 kicad: 6.0.7 -> 6.0.8 2022-10-11 02:55:55 +02:00
Evils
a3336a44f5 kicad-unstable: fix build by enabling EGL
wxwidgets (wxGTK?) somehow changed to support EGL by default
2022-09-19 08:29:04 +02:00
Evils
a62cbaddca kicad-unstable: 2022-06-21 -> 2022-09-18 2022-09-19 08:29:04 +02:00
K900
0ff0b14968 treewide: more cmake rpath fixups 2022-07-17 17:42:15 +03:00
Evils
6a66c08222 kicad-unstable: 2022-05-06 -> 2022-06-21
contains fix for upstream issue 9888 (intermittent test failure)
2022-06-22 00:11:15 +02:00
Evils
d98b76cf5b kicad-unstable: 2021-12-23 -> 2022-01-13
PCM is no longer optional
  removed in 211820a689a618ac5bcbea19a8c58d345ce25ddb

-unknown suffix is back
  3e373da8c25048205dfa2278079555a522fd2e62
2022-01-14 02:44:12 +01:00
Evils
2753f7c8e1 kicad: disable tests
due to an intermittent failure of the qa_pcbnew test
  https://gitlab.com/kicad/code/kicad/-/issues/9888
2021-12-27 05:45:38 +01:00
Evils
83e6fe5557 kicad: remove unused options
the asserts are in nixos-unstable by now

and use the build_qa flag to disable building unused tests
2021-12-26 22:07:02 +01:00
Evils
e54357a7d2 kicad: KICAD_SPICE build option defaults to ON
and has apparently done so since it was added...
2021-12-26 22:07:02 +01:00
Evils
b3f0da107e kicad: remove the separate i18n stuff
i18n is now in the kicad source in both stable and unstable
  behind the withI18n flag which is disabled by default
2021-12-26 22:07:02 +01:00
Evils
78f0769183 kicad: 5.1.12 -> 6.0.0
remove old build conditionals
  the old wrapper env vars are no longer applicable to 6.0.0
  scripting is no longer optional
    though wxPython is still an optional dependency?

add withI18n build option to kicad.base
  i18n was moved to the kicad source, and is disabled by default
    withI18n takes the same default

add withPCM option
  to allow disabling building the Plugin and Content Manager

remove the withOCE option
  the build option was removed in upstream commit:
    1c5c052301b607a0cf8b8ed6681f1db1622a865b

and unconditionally use wxGTK31-gtk3 and wxPython
  the pcb editor's python terminal seems to work with these versions
2021-12-26 22:07:02 +01:00
Kerstin Humm
bb799694db
epoxy: rename to libepoxy
https://github.com/NixOS/nixpkgs/issues/145040
2021-11-11 05:55:32 +01:00
Evils
e2ae6cc0f4 kicad: use new domain name
as the old one is now no longer controlled by the kicad organization
2021-10-19 23:31:38 +02:00
Sebastián Mancilla
8f94a33b38 treewide: ensure pre/post phase hooks are strings
Some derivations use lib.optional or lib.optionals when setting pre/post
phase hooks. Ensure the proper lib.optionalString is used.
2021-08-20 19:08:42 -04:00
Evils
0e6d186906 kicad-unstable: needs python
needed since upstream merge request 796 got merged on 2021-06-01
2021-07-13 12:47:26 +02:00
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