Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / pysentation / default.nix
blobc02fec3c01663808c7d8fa85d4b12f265d9e3870
1 { lib
2 , python3
3 , fetchFromGitHub
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "pysentation";
8   version = "1.0.0";
9   format = "pyproject";
11   src = fetchFromGitHub {
12     owner = "mimseyedi";
13     repo = "pysentation";
14     rev = "v${version}";
15     hash = "sha256-TwHDXWgGWuQVgatBDc1iympnb6dy4xYThLR5MouEZHA=";
16   };
18   nativeBuildInputs = [
19     python3.pkgs.setuptools
20     python3.pkgs.wheel
21   ];
23   propagatedBuildInputs = with python3.pkgs; [
24     click
25     getkey
26     rich
27   ];
29   pythonImportsCheck = [ "pysentation" ];
31   meta = with lib; {
32     description = "A CLI for displaying Python presentations";
33     homepage = "https://github.com/mimseyedi/pysentation";
34     changelog = "https://github.com/mimseyedi/pysentation/releases/tag/${src.rev}";
35     license = licenses.gpl3Only;
36     maintainers = with maintainers; [ figsoda ];
37     mainProgram = "pysentation";
38   };