Commit graph

20 commits

Author SHA1 Message Date
Sergei Trofimovich
eb49b17a0f upx: disable blanket -Werror (fix gcc-11 build)
On gcc-11 build fails as:

```
$ nix-build -E 'with import ./.{}; upx.override { stdenv = gcc11Stdenv; }'
...
  ./../src/lzma-sdk/C/7zip/Compress/LZMA/../../../Common/MyCom.h:159:32:
    error: this 'if' clause does not guard... [-Werror=misleading-indentation]
  159 | STDMETHOD_(ULONG, Release)() { if (--__m_RefCount != 0)  \
      |                                ^~
```
2021-09-22 09:15:09 +01: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
zowoq
f224d16c4c upx: 3.95 -> 3.96
https://github.com/upx/upx/blob/v3.96/NEWS
2020-01-29 17:28:18 +10: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
da8e3ef9e5 upx: 3.94 -> 3.95 2018-08-27 12:50:44 -05:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Daiderd Jordan
7cd9779488
upx: fix clang build 2017-07-26 23:24:49 +02:00
Will Dietz
a3b2ccb7b4 upx: 3.93 -> 3.94
* Use release tarball
* Cleanup a bit
2017-06-21 18:54:10 -05:00
armijnhemel
a8c8d5a588 upx: 3.91 -> 3.93
* moved from sourceforge to github
2017-04-18 21:49:54 +02: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
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Lluís Batlle i Rossell
5d8ca218df upx: updating to 3.91. 2014-02-04 10:12:28 +01:00
Nixpkgs Monitor
7af191826e upx: update from 3.07 to 3.09 2013-12-21 02:28:28 +02:00
Evgeny Egorochkin
b084b29d26 Even more mirror:// fixes 2013-07-14 04:17:07 +03: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
Lluís Batlle i Rossell
6aa761ab3b Removing a superfluous argument in upx
svn path=/nixpkgs/trunk/; revision=26621
2011-03-31 10:04:52 +00:00
Lluís Batlle i Rossell
56acf8aeb0 Updating upx (and I tried to make it use fine lzma and ucl)
svn path=/nixpkgs/trunk/; revision=26620
2011-03-31 09:49:54 +00:00
Lluís Batlle i Rossell
75e0d28624 Updating upx - now it builds with gcc 4.4
svn path=/nixpkgs/trunk/; revision=20160
2010-02-22 08:08:23 +00:00
Lluís Batlle i Rossell
d52b60af22 Adding upx.
svn path=/nixpkgs/trunk/; revision=14645
2009-03-22 13:03:37 +00:00