Merge pull request #241629 from fabaff/urlscan-bump

urlscan: 0.9.10 -> 1.0.0
This commit is contained in:
figsoda 2023-07-24 10:07:27 -04:00 committed by GitHub
commit ef20d5f232
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,30 +1,42 @@
{ lib
, python3Packages
, fetchFromGitHub
, python3
}:
python3Packages.buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "urlscan";
version = "0.9.10";
version = "1.0.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "firecat53";
repo = pname;
rev = version;
hash = "sha256-lCOOVAdsr5LajBGY7XUi4J5pJqm5rOH5IMKhA6fju5w=";
rev = "refs/tags/${version}";
hash = "sha256-IvCdc4f784hBM+TEa0zIACz/1/FUnEpGxHUGiS85tt8=";
};
propagatedBuildInputs = [
python3Packages.urwid
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = with python3.pkgs; [
hatchling
hatch-vcs
];
doCheck = false; # No tests available
propagatedBuildInputs = with python3.pkgs; [
urwid
];
pythonImportsCheck = [ "urlscan" ];
# No tests available
doCheck = false;
pythonImportsCheck = [
"urlscan"
];
meta = with lib; {
description = "Mutt and terminal url selector (similar to urlview)";
homepage = "https://github.com/firecat53/urlscan";
changelog = "https://github.com/firecat53/urlscan/releases/tag/${version}";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ dpaetzel jfrankenau ];
};