Commit Graph

19 Commits

Author SHA1 Message Date
Shawn8901
133fa5f867 treewide: remove global with lib; in pkgs/tools 2023-01-24 17:41:44 +01:00
Ferry Jérémie
65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
Felix Buehler
63c0bce359 tools/graphics: replace name with pname&version 2021-08-12 20:41:54 +02:00
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
John Ericson
f52263ced0 treewide: Start to break up static overlay
We can use use `stdenv.hostPlatform.isStatic` instead, and move the
logic per package. The least opionated benefit of this is that it makes
it much easier to replace packages with modified ones, as there is no
longer any issue of overlay order.

CC @FRidh @matthewbauer
2021-01-03 19:18:16 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01: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
Franz Pletz
5031b5e0c8
optipng: 0.7.6 -> 0.7.7 2018-01-28 19:59:42 +01:00
Moritz Ulrich
9fab349ef5
optipng: Workaround for issue 28106. 2017-08-16 10:25:02 +02:00
John Ericson
895c361480 WIP: optipng: cc-wrapper can be relied on to export these env vars 2017-06-28 18:31:37 -04:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Micxjo Funkcio
eda65083e8
optipng: 0.7.5 -> 0.7.6 (CVE-2016-2191) 2016-04-07 23:47:53 -07:00
Pascal Wittmann
62d62b6588 Fixed some licenses 2015-06-10 13:00:42 +02:00
Aristid Breitkreuz
a7c77e2c20 optipng: update from 0.7.4 to 0.7.5 2014-10-07 22:42:14 +02:00
Jaka Hudoklin
c3524a8dd6 optipng: use system libpng & zlib, fix cross builds and add support for static builds 2014-04-01 01:43:56 +02:00
Jaka Hudoklin
a976962d6c optipng: update to 0.7.4
close #1138.
2013-10-29 05:13:42 +02:00
Russell O'Connor
a42b81d33d Updating optipng to 0.6.5
svn path=/nixpkgs/trunk/; revision=26857
2011-04-16 20:42:01 +00:00
Lluís Batlle i Rossell
a991201bf5 Adding optipng, and a basic expression for pdfread.
svn path=/nixpkgs/trunk/; revision=20802
2010-03-23 23:04:41 +00:00