xurls: 2.5.0-unstable-2024-11-03 -> 2.6.0

Diff: 7c973a26c7...v2.6.0
This commit is contained in:
emaryn 2025-06-07 05:47:19 +08:00
parent 6bd4d7b44d
commit 8eb2c07e2a

View file

@ -1,31 +1,32 @@
{ {
buildGoModule,
lib, lib,
buildGoModule,
fetchFromGitHub, fetchFromGitHub,
}: }:
buildGoModule { buildGoModule (finalAttrs: {
pname = "xurls"; pname = "xurls";
version = "2.5.0-unstable-2024-11-03"; version = "2.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mvdan"; owner = "mvdan";
repo = "xurls"; repo = "xurls";
rev = "7c973a26c7bd6ecd8d86bb435d93ff98df2710fa"; tag = "v${finalAttrs.version}";
sha256 = "sha256-jZmlM9rs+N0ks7msmb3eJ96aTYp0qUo/1bgLAgHnvSo="; hash = "sha256-cfiMrJuzm5wpVKSyhta4ovARbp5B6K30l3+I/KOsZM4=";
}; };
vendorHash = "sha256-W6Z1E6a+qBdOuyHoiT6YA+CAJHBJ0FTYH8AntiKvVBY="; vendorHash = "sha256-Bks47kusGgVsbNiLq3QxP/dhIp72HGYeMhdifFwY340=";
ldflags = [ ldflags = [
"-s" "-s"
"-w" "-w"
]; ];
meta = with lib; { meta = {
description = "Extract urls from text"; description = "Extract urls from text";
homepage = "https://github.com/mvdan/xurls"; homepage = "https://github.com/mvdan/xurls";
maintainers = with maintainers; [ koral ]; mainProgram = "xurls";
license = licenses.bsd3; maintainers = with lib.maintainers; [ koral ];
license = lib.licenses.bsd3;
}; };
} })