Commit Graph

49 Commits

Author SHA1 Message Date
Armeen Mahdian
2d207146ee
mathematica: Refactor install process with autoPatchelfHook (#154295)
- Call appropriate hooks at beginning/end of each phase

  - No longer assume current working dir in installPhase

  - Add support for udev rules installation (required for VernierLink)

  - Use -verbose with MathInstaller for detailed progress

  - Use patchShebangs or MathInstaller

  - Remove broken hostname call, root user check, and Avahi daemon
    check in MathInstaller

  - Add proper error checking after MathInstaller call

  - Skip configure phase

  - Create wrappers for relevant executables

  - Set $HOME to $TMPDIR/home temporarily so MathInstaller
    succeeds

  - Replace dd with tail for simplicity and performance
2022-01-19 12:35:38 -05:00
qbg
24111d6a7a
mathematica: 12.3.1 -> 13.0.0 (#151213)
https://wolfram.com/mathematica/quick-revision-history.html#v130
2021-12-18 23:24:27 -05:00
qbg
b5b4a6ac4f
mathematica: Install desktop items (#147641) 2021-12-02 15:17:23 +02:00
Felix Buehler
b52ab3b712 pkgs/applications: rename name to pname&version part 2 2021-11-07 14:53:06 +01:00
FliegendeWurst
5a1b72a6b1 mathematica: 12.3.0 -> 12.3.1 2021-07-15 15:29:33 +02:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
FliegendeWurst
09127f1415 mathematica: 12.2.0 -> 12.3.0 2021-06-05 11:32:04 +02: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
Pavol Rusnak
1017eb06b1
Merge pull request #101227 from herberteuler/fix/mathematica-12.1.1-opencv4
mathematica: use opencv4
2020-12-29 23:41:09 +01:00
FliegendeWurst
e49c1a0027
mathematica: 12.1.1 -> 12.2.0 (#107309) 2020-12-21 12:55:28 -05:00
Ben Gamari
7263f7c433
mathematica: Prefer building locally (#100856)
There is little benefit to copying a 4GB tarball over the network,
just to perform an I/O-bound operation and then copy the
multi-gigabyte result back.
2020-11-19 19:42:22 -05:00
Guanpeng Xu
efe94c085b mathematica: use opencv4
The default opencv2 is marked broken at 5e68d203, and it is suggested
there that the current release is 4.x.
2020-10-21 08:36:54 +08:00
Wulfsta
77143fc628 mathematica: fix libQt errors 2020-10-11 15:49:11 +02:00
Henri Menke
e1f177fab2
mathematica: 12.1.0 -> 12.1.1 2020-08-24 11:36:59 +12:00
Doron Behar
53effac040 mathematica: explicitly use opencv2 2020-05-05 13:48:55 +03:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Guanpeng Xu
d2702c915f mathematica: 12.0.0 -> 12.1.0 2020-03-29 14:38:33 +02:00
Guanpeng Xu
66d5277375 mathematica: fix version issue with zlib (#73425) 2019-11-14 17:19:30 -05:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +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
Guanpeng Xu
6988b0b929 mathematica: 11.3.0 -> 12.0.0 (#65031)
* mathematica: archive version 11

* mathematica: 11.3.0 -> 12.0.0
2019-07-23 22:23:00 +02:00
Artemis Tosini
51a2a08d6e
mathematica: 11.2.0 -> 11.3.0
Note that this only affects the English version, as I do not have access
to the hash for the Japanese version.
2019-01-25 15:29:02 +00:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
volth
87f5930c3f [bot]: remove unreferenced code 2018-07-20 18:48:37 +00:00
Lengyel Balazs
1f1e16af73 mathematica: add mesa, fix libGL.so.1 not found messages 2018-05-04 13:10:26 +02:00
Mitsuhiro Nakamura
1ed47cf214 mathematica: enable installation of localized editions
For now English (default) and Japanese editions only.
Fill out information in `l10ns.nix` to add the other localized editions.
Example usage: `mathematica.override { lang = "ja"; }` derives Japanese edition.
2018-01-19 21:42:52 +09:00
Guanpeng Xu
2eeb00441d Mathematica: 11.0.1 -> 11.2.0 2017-10-05 07:54:16 +02:00
Frederik Rietdijk
006edcc316 Merge pull request #27440 from mnacamura/mathematica11_fix_ldpath
mathematica: fix library paths
2017-08-13 22:55:18 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Mitsuhiro Nakamura
fb2302e115 Add missing 'math' 2017-07-19 17:39:36 +09:00
Mitsuhiro Nakamura
7aaea7297e Simplify the sed script 2017-07-19 15:18:44 +09:00
Mitsuhiro Nakamura
488db3d392 mathematica: fix library paths 2017-07-18 19:45:43 +09:00
Ole Krüger
a31c37c759 [mathematica] 10.0.2 -> 11.0.1 2016-11-25 12:13:41 +01:00
Nikolay Amiantov
ab0a0c004e makeSearchPathOutputs: refactor to makeSearchPathOutput 2016-04-25 13:24:39 +03:00
Nikolay Amiantov
8b7ebaffeb replace makeSearchPath tree-wise to take care of possible multiple outputs 2016-04-13 22:09:41 +03:00
Aristid Breitkreuz
158e4ffd9c mathematica package patchPhase does not like set -e 2015-11-30 21:08:30 +01:00
Vladimír Čunát
76ef7a93e3 Merge: xlibs and x11 attribute cleanup
Frequently using multiple *almost* identical attributes is bad.
2015-09-23 10:42:34 +02:00
Vladimír Čunát
88c9f8b574 xlibs: replace occurrences by xorg
This seems to have been confusing people, using both xlibs and xorg, etc.
- Avoided renaming local (and different) xlibs binding in gcc*.
- Fixed cases where both xorg and xlibs were used.
Hopefully everything still works as before.
2015-09-15 12:54:34 +02:00
Vladimír Čunát
8f33b8cc93 mass rewrite of find parameters to cross-platform style
Fixes #9044, close #9667. Thanks to @taku0 for suggesting this solution.
Now we have no modes starting with `/` or `+`.

Rewrite the `-perm` parameters of find:
 - completely safe: rewrite `/0100` and `+100` to `-0100`,
 - slightly semantics-changing: rewrite `+111` to `-0100`.
I cross-verified the `find` manual pages for Linux, Darwin, FreeBSD.
2015-09-06 10:26:30 +02:00
Aristid Breitkreuz
a7e0cb38c2 update Mathematica to 10.0.2 2015-04-09 21:53:51 +02:00
Eric Seidel
88eae46455 rename occurrences of gcc.gcc to gcc.cc 2015-01-14 20:47:49 -08:00
John Wiegley
28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00
Aristid Breitkreuz
6fc7efa7b3 add mathematica 10 (slightly borked but runs) 2014-09-17 23:25:35 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Jonas Hoersch
8487fdd209 mathematica: fix x86 build of mathematica
the MathInstaller doesn't distinguish between 64bit and 32bit linux
platforms.
2013-11-03 14:01:59 +01:00
Eelco Dolstra
fca11ef500 Fix evaluation errors 2013-10-01 13:12:45 +02:00
Jonas Hoersch
986b34580d add mathematica version 9.0.0
Wolfram Mathematica based on the makeself archive found on the Mathematica installation DVD.
2013-09-15 18:33:13 +02:00