biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / text / frogmouth / default.nix
blob8a93e86be66ca927a54c782bd0a473547ea43f34
1 { lib
2 , python3
3 , fetchFromGitHub
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "frogmouth";
8   version = "0.9.1";
9   format = "pyproject";
11   src = fetchFromGitHub {
12     owner = "Textualize";
13     repo = "frogmouth";
14     rev = "v${version}";
15     hash = "sha256-0fcCON/M9JklE7X9aRfzTkEFG4ckJqLoQlYCSrWHHGQ=";
16   };
18   nativeBuildInputs = [
19     python3.pkgs.poetry-core
20   ];
22   propagatedBuildInputs = with python3.pkgs; [
23     httpx
24     textual
25     typing-extensions
26     xdg
27   ];
29   pythonRelaxDeps = [
30     "httpx"
31     "textual"
32   ];
34   pythonImportsCheck = [ "frogmouth" ];
36   meta = with lib; {
37     description = "Markdown browser for your terminal";
38     mainProgram = "frogmouth";
39     homepage = "https://github.com/Textualize/frogmouth";
40     changelog = "https://github.com/Textualize/frogmouth/blob/${src.rev}/ChangeLog.md";
41     license = licenses.mit;
42     maintainers = with maintainers; [ figsoda ];
43   };