Commit Graph

18 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
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Luka Blaskovic
47ace9a42c phantomjs2: build with bison3 2020-01-13 21:35:19 +00:00
Sebastien Lavoie
50915af138
phantomjs2: Fix compilation when using clang60 2019-12-05 13:57: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
Ryan Mulligan
508ae42a0f treewide: fix redirect URLs 2019-07-10 12:52:51 -07:00
volth
921258cb69 phantomjs2: fix 404 (anonscm.debian.org -> salsa.debian.org) (#50980) 2018-11-24 11:35:18 +00:00
volth
87f5930c3f [bot]: remove unreferenced code 2018-07-20 18:48:37 +00:00
Luke Adams
457bf6da58 phantomjs2: set QT_QPA_PLATFORM to allow use in daemons
resolves issues with Grafana email attachments

Suggested in https://github.com/ariya/phantomjs/issues/15217#issuecomment-354713760
2018-01-19 23:52:53 -06:00
Bastian Köcher
8ebbedadba phantomjs2: Fixes build with Qt5.10 2018-01-01 21:02:22 +01:00
Thomas Tuegel
2522a72caf
phantomjs2: remove obsolete RPATH hack 2017-11-07 07:18:49 -06:00
Harmen
fff93f5a59 phantomjs2: add qtbase's bin to PATH 2017-10-02 23:40:59 +02:00
Robin Gloster
1ff2c65acf
phantomjs2: don't use bundled qt 2017-08-06 20:30:17 +02:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Domen Kožar
b77df197f5 phantomjs2: 2.0.0 -> 2.1.1 (fix build)
(cherry picked from commit 94036474c2b424ac19c4e8e30b5b026210649789)
Signed-off-by: Domen Kožar <domen@dev.si>
2016-04-06 12:30:06 +01:00
Vladimír Čunát
cea8ee50c7 phantomjs2: fix evaluation and refactor
The error was due to the fact that with-introduced bindings have lower
priority and we do have `darwin` in scope already.

Fixes #12350. Closes #12351. (A slightly different fix.
I chose this to lower the risk of people re-introducing the mistake.)
2016-01-13 08:34:35 +01:00
Jude Taylor
e6a892bb55 phantomjs2: build on darwin 2016-01-12 21:52:49 -08:00
Alexander Flatter
a475f99304 Add phantomjs2
This builds PhantomJS 2 from source in contrast to PhantomJS 1, for
which static binary builds are available.
2015-07-15 21:14:15 +02:00