blob: 1a84c06c94ff47ee459fea070792c6a338f7cd96 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "pysentation";
version = "1.0.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "mimseyedi";
repo = "pysentation";
rev = "v${version}";
hash = "sha256-TwHDXWgGWuQVgatBDc1iympnb6dy4xYThLR5MouEZHA=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"click"
"rich"
];
propagatedBuildInputs = with python3.pkgs; [
click
getkey
rich
];
pythonImportsCheck = [ "pysentation" ];
meta = with lib; {
description = "A CLI for displaying Python presentations";
homepage = "https://github.com/mimseyedi/pysentation";
changelog = "https://github.com/mimseyedi/pysentation/releases/tag/${src.rev}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ figsoda ];
mainProgram = "pysentation";
};
}
|