3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

91 commits

Author SHA1 Message Date
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
Dmitry Kalinkin ebe5f10794
kicad: don't build versions with 3d on Hydra
The hydraPlatforms have to be set on the kicad package itself, that can be
checked using:

  echo ":p { inherit kicad kicad-small kicad-unstable; }" | nix repl ./pkgs/top-level/release.nix

This commit disables build of all kicad variants that require downloading
packages3d, which currently fail on hydra with the "Output limit exceeded"
status. This leaves Hydra with only building the kicad-small, which will allow
us to cache the build of kicad-base as well as all libraries except of
packages3d.
2020-03-16 19:45:04 -04:00
Evils d3a9e634bf kicad-unstable: update update.sh && update
use /tmp instead of XDG_RUNTIME_DIR
  which is /run/user/1000, which defaults to 10% of RAM
  and kicad-packages3d needs ~6gb
2020-02-10 19:54:38 +01:00
Evils a9942b0226 kicad: simplify component names 2020-02-10 19:54:38 +01:00
Evils 2607c4b9f9 kicad: split version.nix & add update.sh
update.sh generates version.nix
  by default only updates kicad-unstable
  several options (can be combined)
    all, update to latest tag and master
    clean, generate versions.sh from scratch
    commit, make a git commit
2020-01-08 23:04:54 +01: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 d96992a21b kicad: unite unstable.nix with default.nix
use latest libraries for unstable
move all revs and hashes to default.nix

thanks TQ for getting me through this blockage
2020-01-02 03:45:34 +01:00
Evils 958d745fec kicad: use separated libraries
switch source to gitlab as that's the new upstream source

use wrapper variables for everything but i18n
  add sym and fp templates to template path

update meta to reflect kicad's own language
  set license to AGPLv3, according to the source's LICENSE.README

reduce diff between default and unstable in preparation of merging

on debian gets "no module named 'math'"
  pcbnew 3d viewer is unusable (at least on my T410)
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
Evils 6477f717e3 kicad-unstable: wrap
use wxGTK31
  brings hiDPI support
  no python shell...
2020-01-02 03:45:34 +01:00
Matt Huszagh d40747ed2c kicad: add python six package as dep
This is needed for python scripting support.
2020-01-02 03:45:34 +01:00
Matt Huszagh 1eb1b067dd kicad: python2 -> python3 2020-01-02 03:45:34 +01:00
adisbladis c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Daniel Frank b4136a8f5b kicad: 5.1.2 -> 5.1.4, fix ngspice, mark broken on aarch64 (#69584) 2019-10-16 02:02:49 -04:00
Linus Heckemann 5aa4b19946 treewide: mark some broken packages as broken
Refs:
e675498026
1e9cc5b984
793a2fe1e8
c19cf65261
f6544d618f
2019-10-08 17:14:26 +02:00
Vladimír Čunát 22a216849b
Re-Revert "Merge branch 'staging-next'"
This reverts commit f8a8fc6c7c.
2019-09-22 09:38:09 +02:00
Vladimír Čunát f8a8fc6c7c
Revert "Merge branch 'staging-next'"
This reverts commit 41af38f372, reversing
changes made to f0fec244ca.

Let's delay this.  We have some serious regressions.
2019-09-21 20:05:09 +02:00
Vladimír Čunát 41af38f372
Merge branch 'staging-next' 2019-09-21 13:14:09 +02:00
Bjørn Forsman 5af0d0b5da kicad: fix build
Fix configure time error:
  ...
  ImportError: No module named wx
  CMake Error at CMakeModules/FindwxPython.cmake:52 (message):
    wxPython/Phoenix does not appear to be installed on the system

Only build tested.

Fixes: f7e28bf5d8 ("Split buildPythonPackage into setup hooks")
2019-09-20 08:17:58 +02:00
Jan Tojnar 9b6789de73
tree-wide: replace wrapProgram with wrapGApp
where appropriate
2019-09-10 17:54:57 +02:00
volth 7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00