nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 python3,
4 fetchFromGitHub,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "frogmouth";
9 version = "0.9.1";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "Textualize";
14 repo = "frogmouth";
15 rev = "v${version}";
16 hash = "sha256-0fcCON/M9JklE7X9aRfzTkEFG4ckJqLoQlYCSrWHHGQ=";
17 };
18
19 nativeBuildInputs = [
20 python3.pkgs.poetry-core
21 ];
22
23 propagatedBuildInputs = with python3.pkgs; [
24 httpx
25 textual
26 typing-extensions
27 xdg
28 ];
29
30 pythonRelaxDeps = [
31 "httpx"
32 "textual"
33 ];
34
35 pythonImportsCheck = [ "frogmouth" ];
36
37 meta = {
38 description = "Markdown browser for your terminal";
39 mainProgram = "frogmouth";
40 homepage = "https://github.com/Textualize/frogmouth";
41 changelog = "https://github.com/Textualize/frogmouth/blob/${src.rev}/ChangeLog.md";
42 license = lib.licenses.mit;
43 maintainers = [ ];
44 };
45}