python312Packages.pyinstaller: reformat; 6.10.0 -> 6.11.0; fix build (#353927)

This commit is contained in:
Martin Weinelt
2024-11-06 01:22:34 +01:00
committed by GitHub
@@ -1,36 +1,40 @@
{
lib
, buildPythonPackage
, fetchPypi
, setuptools
, zlib
, altgraph
, packaging
, pyinstaller-hooks-contrib
, testers
, pyinstaller
, glibc
, binutils
, macholib
, installShellFiles
, stdenv
lib,
stdenv,
buildPythonPackage,
fetchPypi,
# build-system
setuptools,
# native dependencies
zlib,
# dependencies
altgraph,
macholib,
packaging,
pyinstaller-hooks-contrib,
# tests
binutils,
glibc,
pyinstaller,
testers,
}:
buildPythonPackage rec {
pname = "pyinstaller";
version = "6.10.0";
version = "6.11.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-FDhA+AVv97kQv48W9s2SzBCmwmgLt20KJdVY1UPSEnA=";
hash = "sha256-y01DOj2zDZ0Xz18s97tN+Ap4jUk8HWfdgi3FeR2YZK8=";
};
build-system = [ setuptools ];
nativeBuildInputs = [ installShellFiles ];
buildInputs = [ zlib.dev ];
dependencies = [
@@ -41,13 +45,15 @@ buildPythonPackage rec {
];
makeWrapperArgs = lib.optionals stdenv.hostPlatform.isLinux [
"--prefix" "PATH" ":" (lib.makeBinPath [ glibc binutils ])
"--prefix"
"PATH"
":"
(lib.makeBinPath [
glibc
binutils
])
];
postInstall = ''
installManPage doc/pyinstaller.1 doc/pyi-makespec.1
'';
pythonImportsCheck = [ "PyInstaller" ];
passthru.tests.version = testers.testVersion {