Commit graph

115 commits

Author SHA1 Message Date
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
Lancelot SIX
9b5b39f3d6
octave: 4.4.1 -> 5.1.0 2019-03-04 20:43:11 +01:00
Lancelot SIX
ddeeade148 octave: 4.2.2 -> 4.4.1 (#47391) 2018-09-28 11:34:56 +02:00
Lluís Batlle i Rossell
66d7126255 Take me (viric) out of most maintenance
Since years I'm not maintaining anything of the list below other
than some updates when I needed them for some reason. Other people
is doing that maintenance on my behalf so I better take me out but
for very few packages. Finally!
2018-07-22 21:50:19 +02:00
Lancelot SIX
3a7854032a octave: 4.2.1 -> 4.2.2
See http://lists.gnu.org/archive/html/info-gnu/2018-03/msg00006.html
for release announcement
2018-03-21 09:59:18 +01:00
Alexander V. Nikolaev
0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
Alastair Pharo
813eb41cf6 octaveHg: add package 2017-04-09 21:54:14 +10:00
Alastair Pharo
250ddfe1a2 octave: add runtime texinfo dependency
makeinfo (provided by the texinfo package) is used by the "help"
command in Octave to display info about functions, etc.  By default,
Octave looks for "makeinfo" in the PATH, rather than specifying the
location of the executable.  This results in Nix not being aware that
makeinfo is required at runtime (so unless you happen have makeinfo
available from your path, "help" won't work).

This patch fixes that by setting the path to makeinfo in Octave,
thereby creating a runtime dependency on texinfo.
2017-04-09 16:42:56 +10:00
Anthony Cowley
506a5df014 octave: fix on darwin
This change is required on darwin, but did not make it into the 4.2.1
release of Octave. It is a very small change, and a comment on the
patch includes a link for more information and a note that it should
be removed from subsequent releases.
2017-03-22 10:49:10 -04:00
Lancelot SIX
3adee0aac9
octave: 4.2.0 -> 4.2.1
See glists.gnu.org/archive/html/info-gnu/2017-02/msg00011.html for
release announcements.
2017-02-28 14:17:44 +01:00
Jörg Thalheim
90ea0c000c
octave: 4.0.3 -> 4.2.0 2017-01-08 23:40:40 +01:00
Michal Rus
91d6779b96
octave: 4.0.1 → 4.0.3 (+ portaudio dep) 2016-11-07 00:26:56 +01:00
Dmitry Kalinkin
5994c12470
octave: mesa and libX11 are not used on darwin 2016-10-24 17:27:10 -04:00
Michael Raskin
d9c76736cc octave: fix overridePlatforms (was just platforms) name collision, thanks to @bjornfor for catching 2016-09-06 19:57:06 +02:00
Michael Raskin
472ac50f5b octave: forbid 32-bit builds of the octaveFull version, looks like too much memory needed 2016-09-06 18:26:58 +02:00
Domen Kožar
da421bc75f Fix #4210: Remove builderDefs
This was one of the ways to build packages, we are trying
hard to minimize different ways so it's easier for newcomers
to learn only one way.

This also:

- removes texLive (old), fixes #14807
- removed upstream-updater, if that code is still used it should be in
  separate repo
- changes a few packages like gitit/mit-scheme to use new texlive
2016-08-31 11:34:46 +02:00
Anthony Cowley
73ec6bea2c octave: add arpack, libwebp, and darwin compat
This follows on from PR #16965 for qrupdate and PR #16968 for fltk.

WIth these, the added explicit dependencies on arpack (to support
the octave `eigs` function) and `libwebp`, and not pulling X11 things,
octave works properly on darwin.
2016-07-15 17:17:35 -04:00