From 02c688f182be4767678949062c6f9de3d3ad1f9a Mon Sep 17 00:00:00 2001 From: Vladyslav Burzakovskyy Date: Fri, 18 Aug 2023 15:37:25 +0200 Subject: [PATCH] python3Packages.pyinstaller-versionfile: init at 2.1.1 --- .../pyinstaller-versionfile/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/pyinstaller-versionfile/default.nix diff --git a/pkgs/development/python-modules/pyinstaller-versionfile/default.nix b/pkgs/development/python-modules/pyinstaller-versionfile/default.nix new file mode 100644 index 000000000000..85ab4112e5ea --- /dev/null +++ b/pkgs/development/python-modules/pyinstaller-versionfile/default.nix @@ -0,0 +1,30 @@ +{ lib +, fetchFromGitHub +, buildPythonPackage +, packaging +, jinja2 +, pyyaml +}: + +buildPythonPackage rec { + pname = "pyinstaller-versionfile"; + version = "2.1.1"; + + format = "setuptools"; + + src = fetchFromGitHub { + owner = "DudeNr33"; + repo = pname; + rev = "v${version}"; + hash = "sha256-lz1GuiXU+r8sMld5SsG3qS+FOsWfbvkQmO2bxAR3XcY="; + }; + + propagatedBuildInputs = [ packaging jinja2 pyyaml ]; + + meta = { + description = "Create a windows version-file from a simple YAML file that can be used by PyInstaller."; + homepage = "https://pypi.org/project/pyinstaller-versionfile/"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index dc965b2a587b..57565aef4e9f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8095,6 +8095,8 @@ self: super: with self; { pyhumps = callPackage ../development/python-modules/pyhumps { }; + pyinstaller-versionfile = callPackage ../development/python-modules/pyinstaller-versionfile { }; + pyisy = callPackage ../development/python-modules/pyisy { }; pykrakenapi = callPackage ../development/python-modules/pykrakenapi { };