nixpkgs/pkgs/applications/misc/urlscan/default.nix

32 lines
686 B
Nix
Raw Normal View History

2021-10-12 07:37:14 +00:00
{ lib
, python3Packages
, fetchFromGitHub
}:
2016-10-23 14:25:08 +00:00
python3Packages.buildPythonApplication rec {
2018-03-11 09:40:56 +00:00
pname = "urlscan";
2021-10-12 07:37:14 +00:00
version = "0.9.7";
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;
2021-10-12 07:37:14 +00:00
sha256 = "sha256-Wg1QecSMyifID9uIvVWrmkHax4FbbwEcoXIZ8V8P3FU=";
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" ];
meta = with lib; {
2016-10-23 14:25:08 +00:00
description = "Mutt and terminal url selector (similar to urlview)";
homepage = "https://github.com/firecat53/urlscan";
2021-10-12 07:37:14 +00:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ dpaetzel jfrankenau ];
2016-10-23 14:25:08 +00:00
};
}