about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pyinstaller-versionfile/default.nix
blob: b198bae9ec15c61c35a103189961cd73908c0cb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ 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; [ ];
  };
}