Merge pull request #206837 from fabaff/pyelftools-bump
python310Packages.pyelftools: 0.28 -> 0.29
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyelftools";
|
||||
version = "0.28";
|
||||
version = "0.29";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -17,14 +17,16 @@ buildPythonPackage rec {
|
||||
owner = "eliben";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-+T5C0ah2oj5E8fWaQbuzYRVgD5bSiUbaArrlxNLojvw=";
|
||||
hash = "sha256-tPY0C5CoA9hGHeEA/KWQ1RAVT5kqMlAwuWpOSH+KJ9Y=";
|
||||
};
|
||||
|
||||
doCheck = stdenv.hostPlatform.system == "x86_64-linux" && stdenv.hostPlatform.isGnu;
|
||||
|
||||
checkPhase = ''
|
||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" test/external_tools/readelf
|
||||
${python.interpreter} test/all_tests.py
|
||||
${python.interpreter} test/run_all_unittests.py
|
||||
${python.interpreter} test/run_examples_test.py
|
||||
${python.interpreter} test/run_readelf_tests.py --parallel
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
@@ -34,6 +36,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python library for analyzing ELF files and DWARF debugging information";
|
||||
homepage = "https://github.com/eliben/pyelftools";
|
||||
changelog = "https://github.com/eliben/pyelftools/blob/v${version}/CHANGES";
|
||||
license = licenses.publicDomain;
|
||||
maintainers = with maintainers; [ igsha pamplemousse ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user