nixpkgs/pkgs/applications/misc/pysentation/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

45 lines
937 B
Nix

{ 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 = "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";
};
}