Commit graph

34 commits

Author SHA1 Message Date
Michael Livshin a2ae19a00d antlr3: make C++ headers compliant with C++20
(by stealing the relevant patch from Fedora)
2021-04-23 18:10:04 +03:00
Ben Siraphob c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07: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
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
Guillaume Bouchard 2de3de4631 antlr: 4.7 -> 4.8 2020-11-04 15:26:29 -08:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jonathan Ringer 23d3a0269a antlr4: 4.7.1 -> 4.7.2 2019-09-29 03:14:22 -07:00
volth c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +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
Florian Peter cb5b65c62a antlr: add library outputs to 3.5.2 2019-08-11 02:11:32 +08:00
worldofpeace 3f4a353737 treewide: use dontUnpack 2019-07-01 04:23:51 -04:00
Daniel Schaefer bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
Matthew Bauer 290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00
Benjamin Hipple 34d7a370c1 antlr: fix license
See #43716
2018-08-11 13:43:56 +00:00
Jan Tojnar f07203656b
antlr4_7.runtime.cpp: init at 4.7.1 2018-08-09 17:36:50 +02:00
Robert Schütz f0702c62a6 antlr: explicitly use python2
Also, put python2 into nativeBuildInputs because Arch lists it in makedepends.
2018-08-03 20:01:51 +02:00
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Matthew Bauer e51405db3e antlr: supports darwin 2018-04-09 18:35:34 -05:00
Matthew Bauer 7e59fd5b84 antlr4: 4.7 -> 4.7.1
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- ran `/nix/store/i4ipx4vd247inysxw0ygp7smcfx5yf05-antlr-4.7.1/bin/grun -h` got 0 exit code
- ran `/nix/store/i4ipx4vd247inysxw0ygp7smcfx5yf05-antlr-4.7.1/bin/grun --help` got 0 exit code
- ran `/nix/store/i4ipx4vd247inysxw0ygp7smcfx5yf05-antlr-4.7.1/bin/grun help` got 0 exit code
- found 4.7.1 with grep in /nix/store/i4ipx4vd247inysxw0ygp7smcfx5yf05-antlr-4.7.1
2018-03-17 03:53:53 -05:00
Vincent Laporte b9d276bf4c
antlr4: enable more platforms 2017-10-10 07:21:58 +00:00
John Children ea440eae21 antlr4_7: init at 4.7
Includes a more recent version of antlr to nixpkgs. Previous
versions exist already, but version 4 brings many changes
to the generated code and runtime targets.

The install location has been changed from previous versions
of antlr to make use of the set-java-classpath hook, which
is required to make use of both the runtime and the binary.

Also includes the testing rig as a script to allow graphical
inspection of parse trees.
2017-06-20 12:04:12 +01:00
Matthew Bauer b9c8a0182a
antlr: supports darwin 2017-04-23 18:08:40 -05:00
zimbatm a17311a33e antlr3: point to version 3.4
This was pointing to a broken upstream URL and is a beta release. No
dependent in the nixpkgs tree.
2017-01-24 16:15:21 +00:00
Michael Raskin 592e265caa antlr3_4: init at 3.4 2016-09-06 18:19:17 +02:00
Michael Raskin 8f284c0a94 antlr3_5: init at 3.5.2 2016-09-06 18:19:17 +02:00
Bjørn Forsman 239d35338f antlr: add meta attributes 2014-06-22 21:59:41 +02:00
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Yury G. Kudryashov e9fd810997 antlr-2: compile library
svn path=/nixpkgs/trunk/; revision=23235
2010-08-18 18:56:03 +00:00
Peter Simons 22e1286711 Updated ANTLR version 2 from 2.7.6 to 2.7.7.
svn path=/nixpkgs/trunk/; revision=14576
2009-03-17 15:42:54 +00:00
Peter Simons 610aac30c3 Fixed Python StringTemplate library.
Most importantly, this change required updating the ANTLR 2.x expression to
install the Python run-time library. While we're at it, we're building the
run-time library for C++ and Java, too. There is still work to be done: the
stringtemplate library doesn't find antlr.py without help yet.

svn path=/nixpkgs/trunk/; revision=14489
2009-03-10 12:01:22 +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
Martin Bravenboer 1cb5a30f34 Added ANTLR 2.7.6
svn path=/nixpkgs/trunk/; revision=6082
2006-08-09 15:09:50 +00:00
Martin Bravenboer a31de1c856 Added ANTLR 3 beta
svn path=/nixpkgs/trunk/; revision=6033
2006-08-03 16:08:25 +00:00