3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

16 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
Matthew Bauer a5de0ca963 treewide: preserve hashes
avoid mass rebuild from the last commits
2018-10-16 23:19:34 -05:00
Matthew Bauer 51e5f8af42 treewide: don’t set CMAKE_SYSTEM_NAME 2018-10-16 21:52:38 -05:00
John Ericson 0828e2d8c3 treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
Ryan Mulligan c64a239ccf html-tidy: 5.4.0 -> 5.6.0
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/9idavy2wphjqap2sw87ivczwq8wy7vjf-html-tidy-5.6.0/bin/tidy -h` got 0 exit code
- ran `/nix/store/9idavy2wphjqap2sw87ivczwq8wy7vjf-html-tidy-5.6.0/bin/tidy --help` got 0 exit code
- ran `/nix/store/9idavy2wphjqap2sw87ivczwq8wy7vjf-html-tidy-5.6.0/bin/tidy help` got 0 exit code
- ran `/nix/store/9idavy2wphjqap2sw87ivczwq8wy7vjf-html-tidy-5.6.0/bin/tidy -V` and found version 5.6.0
- ran `/nix/store/9idavy2wphjqap2sw87ivczwq8wy7vjf-html-tidy-5.6.0/bin/tidy -v` and found version 5.6.0
- ran `/nix/store/9idavy2wphjqap2sw87ivczwq8wy7vjf-html-tidy-5.6.0/bin/tidy --version` and found version 5.6.0
- ran `/nix/store/9idavy2wphjqap2sw87ivczwq8wy7vjf-html-tidy-5.6.0/bin/tidy -h` and found version 5.6.0
- ran `/nix/store/9idavy2wphjqap2sw87ivczwq8wy7vjf-html-tidy-5.6.0/bin/tidy --help` and found version 5.6.0
- found 5.6.0 with grep in /nix/store/9idavy2wphjqap2sw87ivczwq8wy7vjf-html-tidy-5.6.0
- found 5.6.0 in filename of file in /nix/store/9idavy2wphjqap2sw87ivczwq8wy7vjf-html-tidy-5.6.0

cc "@edwtjo"
2018-03-04 18:51:06 +00:00
Patrick Callahan edef4459f6 html-tidy: 5.2.0 -> 5.4.0 2017-07-24 09:19:03 -07:00
hsloan 936196129d html-tidy: Don't use stdenv.cross 2017-06-28 21:29:08 -04:00
Robin Gloster 61f893fb64
html-tidy: 5.0.0 -> 5.2.0 2017-01-25 20:12:42 +01:00
Vladimír Čunát 7d7a9df360 html-tidy: fix on mingw
This doesn't fix the cross-build by itself due to
https://github.com/NixOS/nixpkgs/issues/14965
But in this case one can hack around that "easily" by:
  (html-tidy.override {
    inherit (/*non-cross nixpkgs eval*/)
      cmake;
  }).crossDrv
2016-04-25 10:09:15 +02:00
Vladimír Čunát 81b9cc6f54 html-tidy: unify with its drop-in replacement tidy-html5
- the original project has been unmaintained for years
- some dependants needed to be patched due to renamed headers
  https://github.com/htacg/tidy-html5/issues/326#issuecomment-160329114
- separate tidy-html5 package was removed, as since the 5.0.0 version
  it's meant as a successor to both, and library name got back
  from libtidy5.so to libtidy.so
  https://github.com/htacg/tidy-html5/issues/326#issuecomment-160314666

/cc committers to tidy-html5: @edwjto and @zimbatm.
2015-11-29 10:32:02 +01:00
Mateusz Kowalczyk 7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Ludovic Courtès 2e937c437a unmaintain several packages 2013-08-16 23:45:01 +02:00
Evgeny Egorochkin dc54358ce9 Change package versions to conform to nixpkgs conventions. 2013-06-09 05:41:44 +03:00
Ludovic Courtès 9f3511c882 Add HTML Tidy, an HTML validator.
svn path=/nixpkgs/trunk/; revision=16176
2009-07-05 14:07:39 +00:00