lol
1{
2 lib,
3 fetchFromGitHub,
4 python3,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "urlscan";
9 version = "1.0.7";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "firecat53";
14 repo = "urlscan";
15 tag = version;
16 hash = "sha256-grQZ1dYa6OII1ah2FWOZg17rnTV/wfzXUtV3ijE8oDE=";
17 };
18
19 build-system = with python3.pkgs; [
20 hatchling
21 hatch-vcs
22 ];
23
24 dependencies = with python3.pkgs; [ urwid ];
25
26 # No tests available
27 doCheck = false;
28
29 pythonImportsCheck = [ "urlscan" ];
30
31 meta = with lib; {
32 description = "Mutt and terminal url selector (similar to urlview)";
33 homepage = "https://github.com/firecat53/urlscan";
34 changelog = "https://github.com/firecat53/urlscan/releases/tag/${src.tag}";
35 license = licenses.gpl2Plus;
36 maintainers = with maintainers; [ dpaetzel ];
37 mainProgram = "urlscan";
38 };
39}