push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,75 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
setuptools-scm,
pyelftools,
packaging,
pretend,
pytestCheckHook,
# non-python dependencies
bzip2,
gnutar,
patchelf,
unzip,
}:
buildPythonPackage rec {
pname = "auditwheel";
version = "6.4.2";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-t6Ya/JGDtrXGYd5ZylhvnHIARFpAnFjN8gSdb3FjbVE=";
};
build-system = [ setuptools-scm ];
dependencies = [
packaging
pyelftools
];
nativeCheckInputs = [
pretend
pytestCheckHook
];
# Integration tests require docker and networking
disabledTestPaths = [ "tests/integration" ];
# Ensure that there are no undeclared deps
postCheck = ''
PATH= PYTHONPATH= $out/bin/auditwheel --version > /dev/null
'';
makeWrapperArgs = [
"--prefix"
"PATH"
":"
(lib.makeBinPath [
bzip2
gnutar
patchelf
unzip
])
];
meta = with lib; {
changelog = "https://github.com/pypa/auditwheel/blob/${version}/CHANGELOG.md";
description = "Auditing and relabeling cross-distribution Linux wheels";
homepage = "https://github.com/pypa/auditwheel";
license = with licenses; [
mit # auditwheel and nibabel
bsd2 # from https://github.com/matthew-brett/delocate
bsd3 # from https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-projects/pax-utils/lddtree.py
];
mainProgram = "auditwheel";
maintainers = with maintainers; [ davhau ];
platforms = platforms.linux;
};
}