1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 packaging, 6 jinja2, 7 pyyaml, 8}: 9 10buildPythonPackage rec { 11 pname = "pyinstaller-versionfile"; 12 version = "3.0.1"; 13 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "DudeNr33"; 18 repo = "pyinstaller-versionfile"; 19 tag = "v${version}"; 20 hash = "sha256-UNrXP5strO6LIkIM3etBo1+Vm+1lR5wF0VfKtZYRoYc="; 21 }; 22 23 propagatedBuildInputs = [ 24 packaging 25 jinja2 26 pyyaml 27 ]; 28 29 meta = { 30 description = "Create a windows version-file from a simple YAML file that can be used by PyInstaller"; 31 mainProgram = "create-version-file"; 32 homepage = "https://pypi.org/project/pyinstaller-versionfile/"; 33 license = lib.licenses.mit; 34 maintainers = [ ]; 35 }; 36}