python3Packages.pyinstaller: init at 6.8.0
Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
90d89c4c63
commit
99d791681b
67
pkgs/development/python-modules/pyinstaller/default.nix
Normal file
67
pkgs/development/python-modules/pyinstaller/default.nix
Normal file
@ -0,0 +1,67 @@
|
||||
{
|
||||
lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, zlib
|
||||
, altgraph
|
||||
, packaging
|
||||
, pyinstaller-hooks-contrib
|
||||
, testers
|
||||
, pyinstaller
|
||||
, glibc
|
||||
, binutils
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyinstaller";
|
||||
version = "6.8.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-P0tlIPRCP+GbzC/WOrcjiFGuK9y8mPJbxdL5fMYgEuk=";
|
||||
};
|
||||
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = [ zlib.dev ];
|
||||
|
||||
dependencies = [
|
||||
altgraph
|
||||
packaging
|
||||
pyinstaller-hooks-contrib
|
||||
];
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--prefix" "PATH" ":" (lib.makeBinPath [ glibc binutils ])
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installManPage doc/pyinstaller.1 doc/pyi-makespec.1
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "PyInstaller" ];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = pyinstaller;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A tool to bundle a python application with dependencies into a single package";
|
||||
homepage = "https://pyinstaller.org/";
|
||||
changelog = "https://pyinstaller.org/en/v${version}/CHANGES.html";
|
||||
downloadPage = "https://pypi.org/project/pyinstaller/";
|
||||
license = with lib.licenses; [
|
||||
mit
|
||||
asl20
|
||||
gpl2Plus
|
||||
];
|
||||
maintainers = with lib.maintainers; [ h7x4 ];
|
||||
mainProgram = "pyinstaller";
|
||||
};
|
||||
}
|
@ -10031,6 +10031,8 @@ self: super: with self; {
|
||||
|
||||
pyindego = callPackage ../development/python-modules/pyindego { };
|
||||
|
||||
pyinstaller = callPackage ../development/python-modules/pyinstaller { };
|
||||
|
||||
pyinstaller-hooks-contrib = callPackage ../development/python-modules/pyinstaller-hooks-contrib { };
|
||||
|
||||
pyinstaller-versionfile = callPackage ../development/python-modules/pyinstaller-versionfile { };
|
||||
|
Loading…
Reference in New Issue
Block a user