nixpkgs/pkgs/misc/present/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

33 lines
744 B
Nix

{ lib, python3Packages, fetchPypi }:
python3Packages.buildPythonPackage rec {
pname = "present";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-l9W5L4LD9qRo3rLBkgd2I/aDaj+ucib5UYg+X4RYg6c=";
};
propagatedBuildInputs = with python3Packages; [
click
pyyaml
pyfiglet
asciimatics
mistune
];
pythonImportsCheck = [ "present" ];
# TypeError: don't know how to make test from: 0.6.0
doCheck = false;
meta = with lib; {
description = "Terminal-based presentation tool with colors and effects";
homepage = "https://github.com/vinayak-mehta/present";
license = licenses.asl20;
maintainers = with maintainers; [ lom ];
mainProgram = "present";
};
}