Commit Graph

62 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
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
Vladimír Čunát
14aa936ec5
Merge branch 'staging-next' into staging 2018-08-17 20:53:27 +02:00
Vladimír Čunát
cbabebcc2e
Merge branch 'master' into staging-next
Hydra: ?compare=1473892
2018-08-17 13:45:21 +02:00
Markus Kowalewski
f9a1aef084
flex: add license 2018-08-16 21:51:07 +02:00
Jan Malakhovski
65b4ff488b flex_2_5_35: make tests run, but disable 2018-08-11 09:35:29 +00:00
Jan Malakhovski
d3b15144a7 flex, flex_2_6_1: fix tests 2018-08-11 09:35:22 +00:00
John Ericson
25348b27c5 flex: Clean up to use less bash 2018-08-02 15:12:45 -04:00
John Ericson
1833a04aed flex: Don't use crossAttrs 2018-07-24 19:40:46 -04:00
Will Dietz
cafe25224f flex: review feedback
* top-level attributes, not crossAttrs
* use depsBuildBuild
2018-01-22 18:44:42 -06:00
Will Dietz
67be78f129 flex: patch around attempt to regen manpage, fix cross 2018-01-22 16:51:31 -06:00
Ben Gamari
715fcb4266 flex: Don't disable static while cross-compiling flex
linux-pam appears to rely on this while cross-compiling.

(cherry picked from commit 4009dd163ac30cd25833bf7eb19b5e26e75c474f)
2018-01-22 16:51:30 -06:00
Ben Gamari
e6f9e82ee4 flex: Use native dependencies where applicable
Flex needs both a C compiler for the build environment, as well as a native m4.

(cherry picked from commit 81827c0084c1a69e41894a4d38b0c0b267eaff34)
2018-01-22 16:51:30 -06:00
Vladimír Čunát
3562c2cfa7
flex: add notes about the glibc-2.26 patch 2017-11-06 19:25:14 +01:00
Vladimír Čunát
6535f0bca6
flex: fix with glibc-2.26
It caused segfaults, e.g. when building doxygen.
2017-11-06 19:20:21 +01:00
John Ericson
252b36a28d misc pkgs: Recategorize some dependencies 2017-09-05 11:37:10 -04:00
Frederik Rietdijk
740d76371e Merge commit 'ba68231273bea4cba01413fd2a0e56d68db9234c' into HEAD 2017-07-31 09:12:15 +02:00
Vladimír Čunát
25c762f2bc
flex-2.5.35: switch source URL 2017-07-30 09:46:13 +02:00
Franz Pletz
5e08c4a2cd
flex: 2.6.3 -> 2.6.4 2017-07-29 19:51:15 +02:00
volth
d50437ba3e
flex_2_5_35: fix 404 2017-07-29 19:01:07 +02:00
Vladimír Čunát
cf1d3677d3
flex: bring back 2.6.1 as an option
Some breakages after flex update aren't so easy to fix,
and I can't really afford to spend much time on it ATM.
2017-01-06 16:17:46 +01:00
Vladimír Čunát
6bded45883
flex: 2.6.1 -> 2.6.3
This resolves some warnings and errors introduced in 2.6.x.
2016-12-30 23:17:08 +01:00
Graham Christensen
feec685636
flex: 2.6.0 -> 2.6.1 2016-09-23 21:42:08 -04:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Adam Boseley
e3068d7309 flex: disable tests when cross compiling
When cross compiling we can't run the test executables
on the build machine
2015-12-23 21:05:32 +10:00
William A. Kennington III
22bf2d0bf3 flex: 2.5.39 -> 2.6.0 2015-11-18 17:50:27 -08:00
Rok Garbas
9e99a66c24 cygwin: make flex building on cygwin 2015-06-05 00:39:29 +02:00
Evgeny Egorochkin
08cb717c98 add meta.branch 2014-11-03 13:09:48 +02:00
John Wiegley
bc08fa99f1 Fix flex for building on darwin systems 2014-04-15 05:04:27 -05:00
Peter Simons
f741be954c Offer consistently named attributes for the two available flex versions. 2014-04-11 10:06:18 +02:00
Aristid Breitkreuz
5d12cbf1c2 add back old version of flex for grub2 2014-04-09 20:42:08 +02:00
Peter Simons
44e8fe67d0 flex: update from 2.5.35 to 2.5.39 2014-04-09 12:41:10 +02:00
Eelco Dolstra
320498d529 flex: Clean up expression 2014-01-07 14:24:59 +01:00
Peter Simons
6451264e63 Drop obsolete versions of flex: we only used the latest one, 2.5.35. 2013-09-09 10:39:56 +02:00
Eelco Dolstra
ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Michael Raskin
ca92853163 Make cross-buildable
svn path=/nixpkgs/trunk/; revision=30238
2011-11-04 21:31:07 +00:00
Michael Raskin
78070477bf Given that this version is the dependency of OpenSSH, fix cross-build.
svn path=/nixpkgs/trunk/; revision=30226
2011-11-04 16:55:47 +00:00
Michael Raskin
a3ea4c135b Newer flex.
svn path=/nixpkgs/trunk/; revision=11213
2008-03-20 09:50:15 +00:00
Ludovic Courtès
3e7da32582 Flex 2.5.34.
svn path=/nixpkgs/trunk/; revision=10713
2008-02-16 19:12:55 +00:00
Michael Raskin
4290be9a99 Various fixes to lessen reliance on nix.cs.uu.nl for tarballs; version bumps for unavailabel tarballs; ATI driver builds now
svn path=/nixpkgs/trunk/; revision=9952
2007-12-18 22:56:12 +00:00
Eelco Dolstra
607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00
Eelco Dolstra
a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Eelco Dolstra
6006d61835 * Added a bunch of descriptions.
svn path=/nixpkgs/trunk/; revision=6705
2006-10-11 16:45:55 +00:00
Eelco Dolstra
85230c348a * Some Bison/Flex refactoring.
* Added Bison 2.3.

svn path=/nixpkgs/trunk/; revision=6635
2006-10-02 15:14:17 +00:00
Eelco Dolstra
4fb1ec6a36 * Flex 2.5.33. This one builds on Darwin.
svn path=/nixpkgs/trunk/; revision=6012
2006-08-01 12:29:54 +00:00
Eelco Dolstra
454707da23 * catamaran.labs.cs.uu.nl -> nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=3660
2005-08-22 08:39:27 +00:00
Eelco Dolstra
cf09d1933d * Revert.
svn path=/nixpkgs/trunk/; revision=3266
2005-06-30 16:03:44 +00:00