Commit graph

9 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 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
John Ericson 2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Ryan Mulligan 117ab67a0a xidel: 0.8.4 -> 0.9.6
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6/bin/xidel -h` got 0 exit code
- ran `/nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6/bin/xidel --help` got 0 exit code
- ran `/nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6/bin/xidel -V` and found version 0.9.6
- ran `/nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6/bin/xidel -v` and found version 0.9.6
- ran `/nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6/bin/xidel --version` and found version 0.9.6
- ran `/nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6/bin/xidel -h` and found version 0.9.6
- ran `/nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6/bin/xidel --help` and found version 0.9.6
- found 0.9.6 in filename of file in /nix/store/1fxha1zsb54kakf7y59a8sqdav71lvgr-xidel-0.9.6

cc "@bjornfor"
2018-02-27 19:09:22 -08:00
Joachim Fasting f32a8eb6cc
xidel: refactor & fix eval
- Fix eval by removing reference to non-existent stdenv.glibc
- Simplify patchelf calls
- Set meta.platforms = linux
2016-11-19 14:29:22 +01:00
Robin Gloster 9820cb1bf2 use dontBuild instead of hacks
changes:
 * buildPhase = "true"
 * buildPhase = ":"
2016-05-04 10:11:04 +00:00
Vladimír Čunát 3b9ef2c71b fix "libc}/lib" and similar references
Done mostly without any verification.
I didn't bother with libc}/include, as the path is still correct.
2015-05-05 11:52:08 +02:00
Bjørn Forsman 7f06428544 xidel: new package
Command line tool to download and extract data from html/xml page.

http://videlibri.sourceforge.net/xidel.html
2014-12-30 14:00:37 +01:00