Commit Graph

49 Commits

Author SHA1 Message Date
Stefan Frijters
8e1d4e81b4 gnused: enable structuredAttrs, use finalAttrs, hash 2026-08-14 14:46:54 +02:00
Stefan Frijters
5340074374 gnused: enable strictDeps 2026-08-02 23:15:29 +02:00
R. Ryantm
f20fda6d42 gnused: 4.9 -> 4.10 2026-04-22 12:28:28 +00:00
Stefan Frijters
e37fde873e gnused: move env variable(s) into env for structuredAttrs 2026-02-09 22:33:56 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Audrey Dutcher
846de80d1c various: Enable updateAutotoolsGnuConfigScriptsHook
Prior to August 2023, any config.guess generated by autoconf will
include a hardcoded /usr/bin/uname invocation for FreeBSD on any
architecture other than arm. This clearly doesn't work under nix.
We must then update or otherwise patch each old config.guess.
2024-05-27 11:09:28 -04:00
R. Ryantm
02ffcc0ba3 gnused: 4.8 -> 4.9 2022-12-24 03:02:07 +00:00
Samuel Gräfenstein
8755e7aa49 gnused,gnused_422: set meta.mainProgram 2021-10-11 02:37:08 +02:00
Jörg Thalheim
c31ba322dc gnused: add mic92 as maintainer 2021-01-31 20:30:07 +01:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Matthias Beyer
df4ec23bc7 gnused: 4.7 -> 4.8
Upstream announcement:
https://lists.gnu.org/archive/html/info-gnu/2020-01/msg00002.html

For the lazy:

> * Noteworthy changes in release 4.8 (2020-01-14) [stable]
>
> ** Bug fixes
>
>   "sed -i" now creates temporary files with correct umask (limited to u=rwx).
>   Previously sed would incorrectly set umask on temporary files, resulting
>   in problems under certain fuse-like file systems.
>   [bug introduced in sed 4.2.1]
>
> ** Release
>
>   distribute gzip-compressed tarballs once again
>
> ** Improvements
>
>   a year's worth of gnulib development, including improved DFA performance

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-01-16 21:40:10 +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
Will Dietz
96524cd903 gnused: 4.6 -> 4.7
https://lists.gnu.org/archive/html/sed-devel/2018-12/msg00028.html
2018-12-21 00:48:28 -06:00
Will Dietz
81b785ceae gnused: 4.5 -> 4.6
https://savannah.gnu.org/forum/forum.php?forum_id=9331

Mirrors didn't seem to have it, hash obtained via

$ nix-prefetch-url https://ftp.gnu.org/gnu/sed/sed-4.6.tar.xz
2018-12-20 11:21:15 -06:00
c0bw3b
0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
volth
9d164580ba gnused: fix Windows build 2018-11-11 06:58:15 +00:00
John Ericson
67db915a43 Merge remote-tracking branch 'upstream/master' into staging 2018-05-10 16:35:04 -04:00
John Ericson
8db05ade40 gnused: Remove crossAttrs
Use a cleaner help2man trick from coreutils
2018-05-10 14:12:38 -04:00
R. RyanTM
731d6486cb gnused: 4.4 -> 4.5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/gnused/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/71dzrirkbkpna9l1mcbjjhdws2y1g1hj-gnused-4.5/bin/sed --help` got 0 exit code
- ran `/nix/store/71dzrirkbkpna9l1mcbjjhdws2y1g1hj-gnused-4.5/bin/sed --version` and found version 4.5
- ran `/nix/store/71dzrirkbkpna9l1mcbjjhdws2y1g1hj-gnused-4.5/bin/sed --help` and found version 4.5
- found 4.5 with grep in /nix/store/71dzrirkbkpna9l1mcbjjhdws2y1g1hj-gnused-4.5
- directory tree listing: https://gist.github.com/20a2031e4b27616ba71439622e5fe4d1
2018-04-02 07:01:00 -07:00
Lancelot SIX
7702225ad1 gnused: 4.3 -> 4.4
See https://lists.gnu.org/archive/html/info-gnu/2017-02/msg00001.html
for release information.
2017-02-04 14:13:58 +01:00
Tuomas Tynkkynen
e00c61fd36 gnused: Fix cross build after upgrade to 4.3.0
Fixes:
````
  GEN      doc/sed.1
help2man: can't get `--help' info from sed/sed
make[2]: *** [Makefile:5775: doc/sed.1] Error 126
make[2]: Leaving directory '/tmp/nix-build-gnused-4.3-arm-linux-gnueabihf.drv-0/sed-4.3'
make[1]: *** [Makefile:3024: all-recursive] Error 1
make[1]: Leaving directory '/tmp/nix-build-gnused-4.3-arm-linux-gnueabihf.drv-0/sed-4.3'
make: *** [Makefile:2156: all] Error 2
````

http://hydra.nixos.org/build/46051086/nixlog/11/raw
2017-01-14 06:36:44 +02:00
Vladimír Čunát
be489cf48c gnused: 4.2.2 -> 4.3
Real replacement of #21646.
2017-01-05 00:17:59 +01:00
Vladimír Čunát
a70180ba73 mutiout: make it builtin 2014-08-30 08:27:43 +02:00
Vladimír Čunát
fb59f27a43 WIP: getting good 2014-08-27 01:14:09 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Peter Simons
0d7118814b Merge branch 'origin/master' into stdenv. 2013-08-17 10:00:16 +02:00
Ludovic Courtès
2e937c437a unmaintain several packages 2013-08-16 23:45:01 +02:00
Danny Wilson
58e6277d77 Allow GNU Patch tests to run with non-bash shell.
Fix gnused url.
2013-02-28 20:04:11 +01:00
Danny Wilson
ef85e97b51 Update gnused to 4.2.2 2013-02-28 20:04:11 +01:00
Lluís Batlle i Rossell
bbb833cf8b Fixing the gnused fetchurl hash type, for stdenv-updates to evaluate well
svn path=/nixpkgs/branches/stdenv-updates/; revision=21252
2010-04-22 21:45:56 +00:00
Ludovic Courtès
99d51d0e92 Assorted GNU updates.
svn path=/nixpkgs/branches/stdenv-updates/; revision=21047
2010-04-13 08:37:54 +00:00
Ludovic Courtès
39195f42ff GNU sed: Update/fix `meta'.
svn path=/nixpkgs/trunk/; revision=15417
2009-04-30 19:30:35 +00:00
Eelco Dolstra
8cd1b893cf * coreutils-6.10, findutils-4.2.32.
* Added some meta attributes.

svn path=/nixpkgs/branches/stdenv-updates/; revision=10511
2008-02-06 13:18:50 +00:00
Eelco Dolstra
544cb9cb83 * Rewrite all URLs to GNU mirrors to mirror://gnu/.
svn path=/nixpkgs/trunk/; revision=9201
2007-08-27 13:42:00 +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
4d3059721d * bash 2.0, findutils 4.2.28.
* Some Nix expression simplifications.  Sense and simplicity!

svn path=/nixpkgs/trunk/; revision=6836
2006-10-24 23:05:12 +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
ea2da73c8d * Doh! Idem.
svn path=/nixpkgs/trunk/; revision=5704
2006-07-14 10:59:14 +00:00
Armijn Hemel
12a23295d5 and update gnused again to 4.1.5...build buildfarm, build! >:)
svn path=/nixpkgs/trunk/; revision=4862
2006-02-19 14:00:17 +00:00
Martin Bravenboer
5472ca11e8 Revert sed update
svn path=/nixpkgs/trunk/; revision=4723
2006-02-05 01:55:03 +00:00
Armijn Hemel
8ec9843f24 update to sed 4.1.5
svn path=/nixpkgs/trunk/; revision=4721
2006-02-05 01:08:08 +00:00
Eelco Dolstra
3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Eelco Dolstra
a450978f26 * Glibc updated to 2.3.5.
* GCC 3.4.4 and 3.3.6.
* Other stdenv packages updated.

svn path=/nixpkgs/trunk/; revision=3188
2005-06-17 10:30:13 +00:00
Eelco Dolstra
e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00
Eelco Dolstra
d97dd79895 * GNU sed upgraded to 4.1.2.
svn path=/nixpkgs/trunk/; revision=1434
2004-09-18 17:04:19 +00:00
Eelco Dolstra
12ae5363ea * Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and
  execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
  `mkDerivation'.  These transformations were all done automatically,
  so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.

svn path=/nixpkgs/trunk/; revision=874
2004-03-29 17:23:01 +00:00
Eelco Dolstra
5941f66f0e * The stdenv setup script now defines a generic builder that allows
builders for typical Autoconf-style to be much shorten, e.g.,

    . $stdenv/setup
    genericBuild

  The generic builder does lots of stuff automatically:

  - Unpacks source archives specified by $src or $srcs (it knows about
    gzip, bzip2, tar, zip, and unpacked source trees).
  - Determines the source tree.
  - Applies patches specified by $patches.
  - Fixes libtool not to search for libraries in /lib etc.
  - Runs `configure'.
  - Runs `make'.
  - Runs `make install'.
  - Strips debug information from static libraries.
  - Writes nested log information (in the format accepted by
    `log2xml').

  There are also lots of hooks and variables to customise the generic
  builder.  See `stdenv/generic/docs.txt'.

* Adapted the base packages (i.e., the ones used by stdenv) to use the
  generic builder.

* We now use `curl' instead of `wget' to download files in `fetchurl'.

* Neither `curl' nor `wget' are part of stdenv.  We shouldn't
  encourage people to download stuff in builders (impure!).

* Updated some packages.

* `buildinputs' is now `buildInputs' (but the old name also works).

* `findInputs' in the setup script now prevents inputs from being
  processed multiple times (which could happen, e.g., if an input was
  a propagated input of several other inputs; this caused the size
  variables like $PATH to blow up exponentially in the worst case).

* Patched GNU Make to write nested log information in the format
  accepted by `log2xml'.  Also, prior to writing the build command,
  Make now writes a line `building X' to indicate what is being
  built.  This is unfortunately often obscured by the gigantic tool
  invocations in many Makefiles.  The actual build commands are marked
  `unimportant' so that they don't clutter pages generated by
  `log2html'.


svn path=/nixpkgs/trunk/; revision=845
2004-03-19 16:53:04 +00:00
Eelco Dolstra
026ff9466a * Rename .fix -> .nix.
svn path=/nixpkgs/trunk/; revision=511
2003-11-18 12:12:56 +00:00