2021-10-12 07:37:14 +00:00
|
|
|
{ lib
|
|
|
|
, python3Packages
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2016-10-23 14:25:08 +00:00
|
|
|
|
2017-07-04 07:31:36 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2018-03-11 09:40:56 +00:00
|
|
|
pname = "urlscan";
|
2022-01-30 19:10:08 +00:00
|
|
|
version = "0.9.9";
|
2016-10-23 14:25:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "firecat53";
|
2018-03-11 09:40:56 +00:00
|
|
|
repo = pname;
|
2016-10-23 14:25:08 +00:00
|
|
|
rev = version;
|
2022-01-30 19:10:08 +00:00
|
|
|
sha256 = "sha256-ZJdmsb+2ElgLFWsicc0S8EQAZhF+gnn+ARgdAyaFDgc=";
|
2016-10-23 14:25:08 +00:00
|
|
|
};
|
|
|
|
|
2021-10-12 07:37:14 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
python3Packages.urwid
|
|
|
|
];
|
2016-10-23 14:25:08 +00:00
|
|
|
|
2018-03-11 09:40:56 +00:00
|
|
|
doCheck = false; # No tests available
|
|
|
|
|
2021-10-12 07:37:14 +00:00
|
|
|
pythonImportsCheck = [ "urlscan" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-10-23 14:25:08 +00:00
|
|
|
description = "Mutt and terminal url selector (similar to urlview)";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/firecat53/urlscan";
|
2021-10-12 07:37:14 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2017-07-04 07:31:36 +00:00
|
|
|
maintainers = with maintainers; [ dpaetzel jfrankenau ];
|
2016-10-23 14:25:08 +00:00
|
|
|
};
|
|
|
|
}
|