diff --git a/pkgs/development/python-modules/pyinstaller/default.nix b/pkgs/development/python-modules/pyinstaller/default.nix index 943a48d843a0..b76b5bc2440a 100644 --- a/pkgs/development/python-modules/pyinstaller/default.nix +++ b/pkgs/development/python-modules/pyinstaller/default.nix @@ -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 {