nixpkgs/pkgs/applications/misc/pysentation/default.nix
Martin Weinelt 735551d0a3
pysentation: relax click and rich constraints
Checking runtime dependencies for pysentation-1.0.0-py3-none-any.whl
  - rich==13.4.1 not satisifeid by version 13.5.2
  - click==8.1.3 not satisifeid by version 8.1.7
2023-12-20 20:10:29 +01:00

45 lines
939 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 = "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";
};
}