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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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";
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" ];
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
};
}