Commit graph

37 commits

Author SHA1 Message Date
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
Aaron Ash
25865306f0 paraview: Fix dataset filtering
Paraview requires python and numpy to be available at runtime not just
build time.  Filtering a csv dataset uses numpy and throws an error
without python and numpy being available in the propagatedBuildInputs.
2020-07-03 10:44:29 +10:00
Jonathan Jeppener-Haltenhoff
7d424a400d paraview: 5.6.3 -> 5.8.0 2020-06-10 18:59:56 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk
419bc0a4cd Revert "Revert "Merge master into staging-next""
In 87a19e9048 I merged staging-next into master using the GitHub gui as intended.
In ac241fb7a5 I merged master into staging-next for the next staging cycle, however, I accidentally pushed it to master.
Thinking this may cause trouble, I reverted it in 0be87c7979. This was however wrong, as it "removed" master.

This reverts commit 0be87c7979.
2020-02-05 19:41:25 +01:00
Frederik Rietdijk
0be87c7979 Revert "Merge master into staging-next"
I merged master into staging-next but accidentally pushed it to master.
This should get us back to 87a19e9048.

This reverts commit ac241fb7a5, reversing
changes made to 76a439239e.
2020-02-05 19:18:35 +01:00
wucke13
b020b0153d paraview: add wrapQtAppsHook
Also reformatted meta and arguments
2020-02-04 11:14:20 +01:00
David Guibert
8754b61147
Merge pull request #78602 from jobojeha/feature/paraview-pythonpath-prefix
paraview: prefix PYTHONPATH
2020-01-28 17:25:37 +01:00
jobojeha
f4e87eb2da paraview: prefix PYTHONPATH
--prefix gives the possibility to add additional python modules to path
2020-01-27 13:08:18 +01:00
Anders Kaseorg
3cd8ce3bce treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted.  (See #67234, for
example.)  Fix this throughout the tree.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-15 09:47:03 +01:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Daniel Schaefer
4390b5ef7c paraview: 5.6.0 -> 5.6.3
* Use qt wrapper, otherwise it wouldn't find plugins and fail to start
2019-11-06 13:24:35 +01: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
ft
8839a613d7 paraview: 5.5.2 -> 5.6.0 2019-02-19 01:48:58 -08: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
Anthony Cowley
6690ec57f8 paraview: 5.4.1 -> 5.5.2
This update should also fix the build the hydra: one part of the
change is to build paraview with Qt-5.9, as this is the configuration
that paraview upstream supports.
2018-07-18 20:05:15 -04:00
Stefan Frijters
dff672ec7c paraview: include numpy in python environment
The Python filter functionality in Paraview requires numpy, which is currently not included.
Changes are based on the discussion in issue #37118.
2018-03-28 11:52:21 +02:00
Alexander V. Nikolaev
0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
Joerg Thalheim
fcd16d3338 paraview: cmake belongs to nativeBuildInputs 2017-12-01 12:49:52 +00:00
Bastian Köcher
cef755a843 paraview: 5.4.0 -> 5.4.1 2017-12-01 13:20:15 +01:00
timor
274333e222 ParaView: 4.0.1 -> 5.4.0 2017-09-10 18:02:38 +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
Vladimír Čunát
33153a2166 paraview, vtk: fix build after mesa update 2015-03-06 12:09:01 +01:00
Mateusz Kowalczyk
007f80c1d0 Turn more licenses into lib.licenses style
Should eval cleanly, as far as -A tarball tells me.

Relevant: issue #2999, issue #739
2014-11-06 00:48:16 +00:00
Lluís Batlle i Rossell
174503945f Updating paraview to 4.0.1. 2013-10-09 09:02:21 +02:00
David Guibert
2162794b68 updating paraview to 3.98.1 2013-05-12 13:49:05 +02:00
Lluís Batlle i Rossell
bed87f75ca Updating paraview.
svn path=/nixpkgs/trunk/; revision=33086
2012-03-14 21:50:17 +00:00
Yury G. Kudryashov
743c7e3539 Let hydra build paraview with qt-4.7 and qt-4.8
svn path=/nixpkgs/trunk/; revision=32452
2012-02-21 12:57:23 +00:00
Lluís Batlle i Rossell
4ad673b3f4 Updating paraview.
svn path=/nixpkgs/trunk/; revision=32319
2012-02-16 11:07:07 +00:00
David Guibert
364a74843a update paraview to 3.10.1
<patch description>

Signed-off-by: David Guibert <david.guibert@gmail.com>

svn path=/nixpkgs/trunk/; revision=28618
2011-08-16 18:17:26 +00:00
Lluís Batlle i Rossell
8d1e116069 Updating paraview
svn path=/nixpkgs/trunk/; revision=24651
2010-11-10 18:13:04 +00:00
Lluís Batlle i Rossell
d7e44fd3df Updating paraview
svn path=/nixpkgs/trunk/; revision=22052
2010-05-29 12:23:42 +00:00
Lluís Batlle i Rossell
916e0f3840 Updating paraview.
svn path=/nixpkgs/trunk/; revision=19478
2010-01-16 11:05:17 +00:00
Lluís Batlle i Rossell
f3c23487a2 Adding a new version of the gcc-wrapper, named gcc-wrapper2, in order not to rebuild
stdenv.

In this gcc-wrapper2 I made the ld-wrapper.sh to handle the linking with shared
objects through direct pass as ld command arguments of the absolute path to shared
objects, instead of using the -L/-l combinations.

cmake 'FindXXX.cmake' modules make a strong usage of the dynamic linking directly
passing the absolute path to the shared object to the linker, and as our wrapper did
not add any -rpath for those, writting the nix expressions for some cmake packages
resulted in a lot of tricks, compared to using this gcc-wrapper2.

This gcc-wrapper2/ld-wrapper.sh should become the gcc-wrapper/ld-wrapper in a
stdenv update.

I also updated some cmake expressions to use this gcc-wrapper2, and reduced its
tricks.

I also updated the cmake setup-hook for it to make cmake not touch any rpath decided
at build time, when running the 'make install' of makefiles created by cmake.

svn path=/nixpkgs/trunk/; revision=18885
2009-12-10 22:19:52 +00:00
Lluís Batlle i Rossell
bd988d052b Stating me as maintainer of packages I maintain.
svn path=/nixpkgs/trunk/; revision=17583
2009-10-01 20:18:17 +00:00
Lluís Batlle i Rossell
94d2e57c62 Trying to fix the cmake-qt problems, fixing cmake's FindQt4. Paraview now builds beyond 25%, while
before it didn't. Through this commit I expect the build farm to try to build kde, and see
whether this way it builds without the unusual NIX_CFLAGS_COMPILE set in the qt setup-hook.

svn path=/nixpkgs/trunk/; revision=15838
2009-06-03 09:19:19 +00:00
Lluís Batlle i Rossell
0edebf5d84 Adding paraview.
svn path=/nixpkgs/trunk/; revision=14794
2009-03-30 20:06:31 +00:00