depot/third_party/nixpkgs/pkgs/development/python-modules/pyinstaller-versionfile/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

36 lines
743 B
Nix

{
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";
mainProgram = "create-version-file";
homepage = "https://pypi.org/project/pyinstaller-versionfile/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
};
}