Commit graph

113 commits

Author SHA1 Message Date
Evils bed2e8ef28 kicad-unstable: 2021-05-13 -> 2021-05-16 2021-05-17 09:47:28 +02:00
Evils 9f6de20292 kicad: correctly handle share/metainfo and appdata
fixes issue 123299

blindly linking unstable's metainfo resulted in a dangling symlink
this is still share/appdata in the stable package so i linked that
2021-05-17 09:47:07 +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
Evils 3fe839e78c kicad: 5.1.9 -> 5.1.10 2021-05-14 09:03:53 +02:00
Evils 7a69e69a0b kicad-unstable: 2020-12-23 -> 2021-05-13 2021-05-14 09:03:46 +02:00
Evils b54dfb232e kicad-unstable: link through new /share/metainfo 2021-05-14 08:06:25 +02:00
Evils 552a5a900c kicad-unstable: set KICAD6 env vars 2021-05-14 08:06:25 +02:00
Evils 95de1291b2 kicad-unstable: use wxPython 4.1 2021-05-14 08:06:24 +02:00
Jan Tojnar 468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00
Eduardo Sánchez Muñoz b5c90bb4da kicad: fix license
https://kicad.org/about/licenses/
2021-04-10 20:39:02 +02:00
Eduardo Sánchez Muñoz 427edc8b5a kicad: include desktop, icon and mime files
Fixes https://github.com/NixOS/nixpkgs/issues/106295.
2021-04-10 18:55:04 +02:00
Samuel Gräfenstein d90e7ac2e1
kicad: gnome3.dconf -> dconf
Fix building with `config.allowAliases = false;`.
2021-03-17 00:00:17 +01:00
Samuel Gräfenstein 9517398973
treewide: gnome3.defaultIconTheme -> gnome3.adwaita-icon-theme
Fix building with `config.allowAliases = false;`.
2021-03-17 00:00:15 +01: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
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Evils 0448f1c082 kicad-unstable: 2020-12-01 -> 2020-12-23 2021-01-07 16:17:41 -05:00
Evils 9be551c1d8 kicad: 5.1.8 -> 5.1.9 2021-01-07 16:17:41 -05:00
Evils 86e29a0b72 kicad: fix update.sh multiple tag reply handling
and fix tabs in update.sh
2021-01-07 16:17:41 -05:00
Ben Gamari c98ce627d4
kicad-unstable: 2020-11-07 -> 2020-12-01 (#105743) 2020-12-03 19:17:32 -05: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
Evils 905134a79f kicad: 5.1.7 -> 5.1.8 2020-11-07 16:29:52 +01:00
Evils 50ec961174 kicad: fix update.sh bootstrapping
it will now correctly build a version.nix file from scratch
2020-11-07 16:29:52 +01:00
Evils 756f36b554 kicad: 5.1.6 -> 5.1.7 2020-11-07 16:29:52 +01:00
Matt Huszagh 9320c69ecb kicad: set default footprint, symbol library and package locations
Previously, these library locations were set absolutely. This
prevented overriding their locations with environment variables. Now,
setting the corresponding environment variable will override the
setting in the environment wrapper. For instance, I can set

KISYSMOD=/some/path/to/footprints

and this will be used as my footprint library instead of the default
footprint library in the nix store. This feature is particularly
useful for having kicad libraries which are writable.
2020-10-17 09:32:55 -07: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 e2fea84597 kicad: clarify wrapGAppsHook comment 2020-10-10 15:15:43 -07:00
Matt Huszagh b3e2b523e5 kicad: reformat with nixpkgs-fmt 2020-10-10 12:53:09 -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
Matt Huszagh b67afd8a44 kicad: modify update script to use gitlab for libraries
Kicad libraries are now hosted on gitlab instead of github.
2020-10-09 07:36:41 -07:00
Hannes Weisbach 9c73e34d18 kicad: remove gettext from buildInputs, add to nativeBuildInputs
The i18n "library" does not link against gettext. It only requires the
msgfmt utility from gettext, hence gettext should be a nativeBuildInput
2020-09-17 19:48:50 +02:00
Evils 3ebb12a695 kicad-unstable: 2020-07-21 -> 2020-08-22 2020-08-23 13:24:16 +02:00
Evils c761c60431 kicad: reenable scriptingSupport
94108 fixed the wxPython dependency
2020-08-23 13:24:16 +02: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
Evils b6863cbfe7 kicad: fix build
disable scripting support as 92261 broke wxPython_4_0
  and i haven't managed to get wxPython 4.1 to work

something caused makeWrapper to have to be added on its own
  not sure where it came from before...

and some cleanup
2020-07-24 03:26:00 -04:00
Evils e842233678 kicad-unstable: 2020-05-14 -> 2020-07-21 2020-07-24 03:26:00 -04: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 d798396684 kicad-unstable: 2020-05-06 -> 2020-05-14 2020-05-21 10:49:18 +02:00
Evils a791245d51 kicad: 5.1.5 -> 5.1.6 2020-05-21 10:49:18 +02:00
Evils 2d3d8c4d66 kicad-unstable: 2020-04-25 -> 2020-05-06 2020-05-07 02:15:57 +02:00
Evils 1059fdf143 kicad: link utils; clean up wrapper installPhase 2020-05-07 01:54:51 +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 b80bd001e2
kicad-unstable: 2020-02-10 -> 2020-04-25
cc #82634
2020-04-26 13:38:37 -04:00
Evils 75963b9160
kicad: update.sh: set -e
and some more suggestions from veprbl

warn if an empty item gets through anyway

and use UTC time

cc #82634
2020-04-26 13:38:13 -04:00