32 lines
686 B
Nix
32 lines
686 B
Nix
{ lib
|
|
, python3Packages
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "urlscan";
|
|
version = "0.9.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "firecat53";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-Wg1QecSMyifID9uIvVWrmkHax4FbbwEcoXIZ8V8P3FU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
python3Packages.urwid
|
|
];
|
|
|
|
doCheck = false; # No tests available
|
|
|
|
pythonImportsCheck = [ "urlscan" ];
|
|
|
|
meta = with lib; {
|
|
description = "Mutt and terminal url selector (similar to urlview)";
|
|
homepage = "https://github.com/firecat53/urlscan";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ dpaetzel jfrankenau ];
|
|
};
|
|
}
|