1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/pkgs/tools/text/frogmouth/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

46 lines
956 B
Nix

{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "frogmouth";
version = "0.9.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "Textualize";
repo = "frogmouth";
rev = "v${version}";
hash = "sha256-0fcCON/M9JklE7X9aRfzTkEFG4ckJqLoQlYCSrWHHGQ=";
};
nativeBuildInputs = [
python3.pkgs.poetry-core
python3.pkgs.pythonRelaxDepsHook
];
propagatedBuildInputs = with python3.pkgs; [
httpx
textual
typing-extensions
xdg
];
pythonRelaxDeps = [
"httpx"
"textual"
];
pythonImportsCheck = [ "frogmouth" ];
meta = with lib; {
description = "Markdown browser for your terminal";
mainProgram = "frogmouth";
homepage = "https://github.com/Textualize/frogmouth";
changelog = "https://github.com/Textualize/frogmouth/blob/${src.rev}/ChangeLog.md";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}