Unverified Commit ef20d5f2 authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #241629 from fabaff/urlscan-bump

urlscan: 0.9.10 -> 1.0.0
parents 85eb9355 67b8982a
Loading
Loading
Loading
Loading
+21 −9
Original line number Diff line number Diff line
{ 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
  ];

  propagatedBuildInputs = with python3.pkgs; [
    urwid
  ];

  doCheck = false; # No tests available
  # No tests available
  doCheck = false;

  pythonImportsCheck = [ "urlscan" ];
  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 ];
  };