mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
952faad4f9
Diff: https://github.com/Textualize/frogmouth/compare/v0.8.0...v0.9.0 Changelog: https://github.com/Textualize/frogmouth/blob/v0.9.0/ChangeLog.md
46 lines
937 B
Nix
46 lines
937 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "frogmouth";
|
|
version = "0.9.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Textualize";
|
|
repo = "frogmouth";
|
|
rev = "v${version}";
|
|
hash = "sha256-TMCeIwMEoNDQV9iue4XrdYQMmwofXDvdMMLTZKILQ9Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
python3.pkgs.poetry-core
|
|
python3.pkgs.pythonRelaxDepsHook
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
httpx
|
|
textual
|
|
typing-extensions
|
|
xdg
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"httpx"
|
|
"textual"
|
|
"xdg"
|
|
];
|
|
|
|
pythonImportsCheck = [ "frogmouth" ];
|
|
|
|
meta = with lib; {
|
|
description = "A Markdown browser for your terminal";
|
|
homepage = "https://github.com/Textualize/frogmouth";
|
|
changelog = "https://github.com/Textualize/frogmouth/blob/${src.rev}/ChangeLog.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|