5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
30 lines
681 B
Nix
30 lines
681 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.";
|
|
homepage = "https://pypi.org/project/pyinstaller-versionfile/";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ ];
|
|
};
|
|
}
|