Commit graph

131 commits

Author SHA1 Message Date
figsoda ec8cb34358 treewide: fix typos 2022-12-17 19:39:44 -05:00
Markus Kowalewski 5ed3812a9f
octave: enable JSON
Add rapidjson to inputs, which enables the functions
jsonencode and jsondecode.
2022-11-10 10:36:31 +01:00
Doron Behar b42282abdf octave: 7.1.0 -> 7.3.0 2022-11-05 20:56:58 +02:00
Karl Hallsby 8399907be3 octave: add patch for octave incorrectly failing on package builds
Patch comes from https://savannah.gnu.org/bugs/?func=detailitem&item_id=62436
2022-05-13 12:50:35 -05:00
Doron Behar 88e6baf832 octave: Remove JIT support (removed upstream) 2022-04-09 19:52:16 +03:00
R. Ryantm bd1e8ccfef octave: 6.4.0 -> 7.1.0 2022-04-08 16:23:23 +00:00
Tom McLaughlin 3aab0e3ad9
Fix typo in Octave description (#147799) 2021-11-29 11:22:43 +08:00
github-actions[bot] 9d44a614de
Merge master into staging-next 2021-11-19 12:01:09 +00:00
Doron Behar 03a46c8b3d
Merge pull request #144155 from KarlJoad/octave/update-packages 2021-11-19 09:12:45 +02:00
Kim Lindberger 855a211fd9
Merge pull request #145473 from talyz/qt512-big-sur-fix
qt512: Make apps work on macOS Big Sur
2021-11-15 19:46:52 +01:00
Doron Behar ecc55a619d octave: 6.3.0 -> 6.4.0 2021-11-12 14:55:56 +02:00
talyz 39ce18a7ec
qt512: Make apps work on macOS Big Sur
Make Qt applications work on macOS Big Sur even if they're built with
an older version of the macOS SDK (<10.14 - we're currently using
10.12). This issue is fixed in 5.12.11, but it requires macOS SDK
10.13 to build. See https://bugreports.qt.io/browse/QTBUG-87014 for
more info.
2021-11-11 11:11:08 +01:00
Karl Hallsby e80c50b44d octavePackages: buildOctavePackage respects user-provided hooks
octavePackages: Allow user to provide extra steps and information
2021-11-01 16:21:21 -05:00
Doron Behar 4a49c7bf1f octave: 6.2.0 -> 6.3.0 2021-10-11 13:48:41 +03:00
Graham Bennett 461466306e octaveFull: set QT_MAC_WANTS_LAYER=1 on Darwin
This avoids a Qt 5.12 problem on Big Sur:
https://bugreports.qt.io/browse/QTBUG-87014
2021-07-24 20:45:24 +01:00
Graham Bennett 09b931bd40 octaveFull: fix linker error on Darwin
See https://trac.macports.org/ticket/61865.
2021-07-24 13:02:54 +01:00
Doron Behar 351187d848 octave.buildEnv: Handle better no packages situation
Use `rm -f` for *.tar.gz files so the command won't fail in case there
aren't any packages.
Create the `$out/.octave_packages` file before iterating the packages.
2021-05-23 09:19:18 +03:00
John Ericson 07ecf87693 treewide: Fix various tools wrappers "with packages"
Now that `buildEnv` is ready, always put `makeWrapper` in
`nativeBuildInputs`, rather than `buildInputs` or (worse) mucking around
with setup hooks by hand.

(C.f. #112276, which didn't catch these because the manual setup hook
sourcing is such a hack to being with!)

Fixes #114687
2021-03-02 22:38:04 +00:00
Cole Helbling 24e5a77861
octave.pkgs: stdenv.lib -> lib
stdenv.lib is a deprecated alias to lib.
2021-02-25 22:16:54 -08:00
Karl Hallsby 481e1d3a77 octave.pkgs: init
Heavily based on Python's packages set.
2021-02-24 21:00:48 +02:00
R. RyanTM 1563577634 octave: 6.1.0 -> 6.2.0 2021-02-22 10:57:14 -05:00
Doron Behar f9c6e07c67 treewide: Remove usages of stdenv.lib by @doronbehar
Per: https://github.com/NixOS/nixpkgs/issues/108938
2021-01-23 10:52:19 +02: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
Doron Behar 865f8ae377 octave: Use latest sundials 2020-12-19 10:58:04 +02:00
Doron Behar 421e81780c octave: inherit features enabled in passthru 2020-12-19 10:31:29 +02:00
Doron Behar 58b27b5ffe octave: inherit python in passthru
For in case one day python will be overridden, we'll know which python
to use.
2020-12-19 10:28:14 +02:00
Doron Behar 74c94d1a35 octave: Remove version from passthru
It's already defined in the derivation.
2020-12-19 10:27:43 +02:00
Doron Behar 247cf9f283 octave: add @doronbehar as maintainer 2020-12-19 10:12:18 +02:00
Doron Behar 67888e5bac octave: Support 64 bit indices arrays
Add a build argument `use64BitIdx`, and comment explaining how it
affects the build - it modifies the deps to make sure they are all
compatible with each other.
2020-12-19 10:12:18 +02:00
Doron Behar 456d320c71 octave: Use only lib.optionals 2020-12-19 10:12:18 +02:00
Ben Siraphob d3287cdd0a octave: 5.2.0 -> 6.1.0 2020-11-30 18:27:11 +07:00
Graham Bennett 3a5bcb313e octave: use qt-5 mkDerivation for wrapQtAppsHook
This is to ensure QT_QPA_PLATFORM_PLUGIN_PATH is set on Darwin.
2020-09-25 09:57:25 +03:00
Matthew Bauer ff2f2644f8 blas,lapack: use isILP64 instead of is64bit
This is a better name since we have multiple 64-bit things that could
be referred to.

LP64  : integer=32, long=64, pointer=64
ILP64 : integer=64, long=64, pointer=64
2020-04-20 16:02:43 -05:00
Matthew Bauer 1c8aba8334 treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different
BLAS/LAPACK implementations.

treewide: cleanup from blas/lapack changes

A few issues in the original treewide:

- can’t assume blas64 is a bool
- unused commented code
2020-04-17 16:24:09 -05:00
Dominic Steinitz 6d196e8c92 Build octave on macos 2020-03-23 06:31:11 +00:00
Doron Behar 3fa64cd5de octave: make optional features declarative in default.nix
Instead of in all-packages.nix .
2020-02-26 10:09:09 +02:00
Doron Behar 62d7ad9309 octave: Use sundials_2 in package's signature instead of callPackage 2020-02-22 12:35:06 +02:00
Doron Behar b631f620d4 octave: Revert "remove old fix for build issue"
This reverts commit 3beeacfd58239bb6e95aa716dedddae17716b6eb.
2020-02-22 12:33:58 +02:00
Doron Behar d4861e2b18 octave: clean up all build inputs - use qt5 2020-02-22 12:33:58 +02:00
Doron Behar 2b18e72064 octave: mark package as broken if JIT is enabled 2020-02-22 12:33:58 +02:00
Doron Behar b3a20c4feb octave: remove old fix for build issue 2020-02-22 12:33:58 +02:00
Doron Behar acf2ad3876 octave: clean up configure flags - remove --enable-dl 2020-02-22 12:33:58 +02:00
Doron Behar 40c2fb8b1e octave: Makeinfo is no longer needed at runtime 2020-02-22 12:33:58 +02:00
Doron Behar b74fe1a248 octave: order arguments at top and import qt5 libs 2020-02-22 12:33:58 +02:00
Lancelot SIX d969e70230 octaveHg: drop
This package is broken and unmaintained (no updates since 2017) and lags
behind octave.
2020-02-09 19:24:18 +01:00
Lancelot SIX bf059959fa
octave: 5.1.0 -> 5.2.0
See https://lists.gnu.org/archive/html/info-gnu/2020-02/msg00007.html
for release information.
2020-02-08 23:04:07 +01:00
Michael Raskin 06346a12a0
Merge branch 'master' into octave-gl2ps 2019-12-08 18:09:08 +00:00
adisbladis d053944e7b
octave: Don't use libGLU_combined 2019-11-09 10:34:49 +00:00
Tmplt 62e0c07836 octave: build with gl2ps
Resolves #38459
2019-10-08 20:03:27 +02: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