Commit Graph

8 Commits

Author SHA1 Message Date
Fabian Affolter
04af07c659 python3Packages.pyelftools: unstable-0.27 -> 0.27 2021-01-15 08:57:47 -08: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
Sirio Balmelli
8fb56a487f python3Packages.pyelftools: disable tests on Darwin
af27072 broke the build on Darwin.

There does not seem to be any way to sanely enable tests on Darwin.

Tests initially fail because of missing 'greadelf'
expected by test/run_readelf_tests.py.

This is fixed by:

- adding 'binutils-unwrapped' to checkInputs
- hardlinking 'readelf' to 'greadelf' in a temp bin dir
- exporting temp bin dir to PATH

This leads to further test failures because of 'readelf' version mismatch
causing output inconsistencies.

See test/run_readelf_tests.py:31 for further details.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2020-11-06 10:48:01 -08:00
Pamplemousse
af27072f1d python3Packages.pyelftools: 0.26 -> unstable-09-23
And fix the tests.

Signed-off-by: Pamplemousse <xav.maso@gmail.com>
2020-10-01 10:17:00 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk
88903062b0 python: pyelftools: 0.25 -> 0.26 2019-12-30 16:46:45 +01:00
Frederik Rietdijk
2d61000470 python: pyelftools: 0.24 -> 0.25 2018-12-03 16:50:33 +01:00
Chris Ostrouchov
db96b75f34 pythonPackages.pyelftools: refactor move to python-modules 2018-10-27 09:07:20 +02:00