mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
41 lines
791 B
Nix
41 lines
791 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
packaging,
|
|
jinja2,
|
|
pyyaml,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyinstaller-versionfile";
|
|
version = "3.0.1";
|
|
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DudeNr33";
|
|
repo = "pyinstaller-versionfile";
|
|
tag = "v${version}";
|
|
hash = "sha256-UNrXP5strO6LIkIM3etBo1+Vm+1lR5wF0VfKtZYRoYc=";
|
|
};
|
|
|
|
preBuild = ''
|
|
touch requirements.txt
|
|
'';
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|