Commit graph

28 commits

Author SHA1 Message Date
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07: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
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jonathan Ringer 46a93a7fdb expect: use postPatch for stty patch 2020-02-16 18:39:07 -08:00
Bas van Dijk b30dc0ff89 expect: patch configure after the autoreconf phase, not before it
Fixes: #79863
2020-02-16 15:46:01 -08:00
Maximilian Bosch 9646fafc5d
expect: remove hack for aarch64 build
Not sure if I missed something or the issue got fixed later, but it's
not needed anymore to pass a `--build` flag to the configure script on
aarch64.

The autoreconfHooks are still needed for expect and bzip2.
2020-01-23 00:21:21 +01:00
Maximilian Bosch 2476d6deca expect: fix aarch64 build 2020-01-14 08:52:25 +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
Jörg Thalheim b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Ryan Mulligan 276ce36909 expect: 5.45 -> 5.45.4
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/expect -v` and found version 5.45.4
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/timed-read -h` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/timed-read --help` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/timed-read help` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/weather help` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/kibitz help` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/rlogin-cwd -h` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/rlogin-cwd --help` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/rlogin-cwd help` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/mkpasswd -h` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/mkpasswd --help` got 0 exit code
- ran `/nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4/bin/.expect-wrapped -v` and found version 5.45.4
- found 5.45.4 with grep in /nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4
- found 5.45.4 in filename of file in /nix/store/3f5lmyfii8yzf3rw3ghpzcdj6f0v5l29-expect-5.45.4
2018-02-25 21:00:08 -08:00
Keshav Kini 47d8cd9b67 expect: update website URL
expect.nist.gov no longer resolves.  It seems the website has been
moved to http://expect.sourceforge.net/ , though there is also a page
on nist.gov at https://www.nist.gov/services-resources/software/expect
.
2017-10-13 13:05:28 +02:00
Franz Pletz aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster f6d3b7a2ae switch hardening flags 2016-01-30 16:36:57 +00:00
Franz Pletz 954e9903ad Use a hardened stdenv by default 2016-01-30 16:36:57 +00:00
Daniel Fox Franke 36ac761340 expect: fix Darwin linkage
expect's build system doesn't seem to provide the proper linker flags
for the expect programs to be able to find libexpect on Darwin. (Stuff
like this should really just use libtool. *sigh*). Setting
DYLD_LIBRARY_PATH is an inelegant hack, but it gets the job done
without risking affecting other platforms.
2015-08-30 00:50:48 +02:00
William A. Kennington III c46e1049aa expect: Refactor and add maintainer 2015-04-30 18:49:27 -07:00
Nikolay Amiantov acc9af591c expect: fix Tcl tools 2015-01-07 06:05:46 +03:00
Jason \"Don\" O'Conal 4736e6d509 expect: fix build on freebsd? (close #981) 2013-09-18 20:50:13 +02:00
Vladimír Čunát 90575ababb expect: fix postInstall library suffix on darwin 2013-09-04 10:15:32 +02:00
Vladimír Čunát 590cee5d19 expect: "minor" update, no longer depends on X/Tk
ANN: https://groups.google.com/forum/#!topic/comp.lang.tcl/lwZjtKOfaLE
I hope this solves a darwin -lXss linkage problem.
(broke most X stuff through dejagnu -> libffi -> llvm or mesa)
2013-09-04 00:00:01 +02:00
Yury G. Kudryashov 84c0185038 svn merge ^/nixpkgs/trunk, one simple conflict in jruby
svn path=/nixpkgs/branches/stdenv-updates/; revision=31721
2012-01-19 21:31:51 +00:00
Ludovic Courtès 2a6f139c5d expect: Remove unneeded dependency on Autoconf.
svn path=/nixpkgs/trunk/; revision=31663
2012-01-18 20:51:52 +00: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
Marc Weber 1106d431fc fix various builds by updating perl URI package update perl URI package
fix expect: Neither was the executable installed nor the shared library
fix topGit source
update synergy fixing build

svn path=/nixpkgs/trunk/; revision=19064
2009-12-21 08:55:31 +00:00
Michael Raskin bee4040300 Fix expect build
svn path=/nixpkgs/trunk/; revision=15527
2009-05-10 11:31:17 +00:00
Eelco Dolstra 6fa8de41fa * Referring to stdenv.coreutils breaks on FreeBSD.
svn path=/nixpkgs/trunk/; revision=11463
2008-04-04 18:24:41 +00:00
Sander van der Burg 9dccbcfc55 Resolved issue with hard-corded path to /sbin/stty
svn path=/nixpkgs/trunk/; revision=11389
2008-03-31 12:57:12 +00:00
Eelco Dolstra 1c65ea4e20 * Added expect.
svn path=/nixpkgs/trunk/; revision=10877
2008-02-27 15:48:53 +00:00