Merge pull request #241629 from fabaff/urlscan-bump

urlscan: 0.9.10 -> 1.0.0

authored by

figsoda and committed by
GitHub
ef20d5f2 85eb9355

+21 -9
+21 -9
pkgs/applications/misc/urlscan/default.nix
··· 1 1 { lib 2 - , python3Packages 3 2 , fetchFromGitHub 3 + , python3 4 4 }: 5 5 6 - python3Packages.buildPythonApplication rec { 6 + python3.pkgs.buildPythonApplication rec { 7 7 pname = "urlscan"; 8 - version = "0.9.10"; 8 + version = "1.0.0"; 9 + format = "pyproject"; 9 10 10 11 src = fetchFromGitHub { 11 12 owner = "firecat53"; 12 13 repo = pname; 13 - rev = version; 14 - hash = "sha256-lCOOVAdsr5LajBGY7XUi4J5pJqm5rOH5IMKhA6fju5w="; 14 + rev = "refs/tags/${version}"; 15 + hash = "sha256-IvCdc4f784hBM+TEa0zIACz/1/FUnEpGxHUGiS85tt8="; 15 16 }; 16 17 17 - propagatedBuildInputs = [ 18 - python3Packages.urwid 18 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 19 + 20 + nativeBuildInputs = with python3.pkgs; [ 21 + hatchling 22 + hatch-vcs 19 23 ]; 20 24 21 - doCheck = false; # No tests available 25 + propagatedBuildInputs = with python3.pkgs; [ 26 + urwid 27 + ]; 28 + 29 + # No tests available 30 + doCheck = false; 22 31 23 - pythonImportsCheck = [ "urlscan" ]; 32 + pythonImportsCheck = [ 33 + "urlscan" 34 + ]; 24 35 25 36 meta = with lib; { 26 37 description = "Mutt and terminal url selector (similar to urlview)"; 27 38 homepage = "https://github.com/firecat53/urlscan"; 39 + changelog = "https://github.com/firecat53/urlscan/releases/tag/${version}"; 28 40 license = licenses.gpl2Plus; 29 41 maintainers = with maintainers; [ dpaetzel jfrankenau ]; 30 42 };