3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/urlscan/default.nix

32 lines
686 B
Nix
Raw Normal View History

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