1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/tools/text/xurls/default.nix
2021-08-14 10:44:20 +00:00

25 lines
573 B
Nix

{ buildGoPackage, lib, fetchFromGitHub }:
buildGoPackage rec {
version = "2.3.0";
pname = "xurls";
src = fetchFromGitHub {
owner = "mvdan";
repo = "xurls";
rev = "v${version}";
sha256 = "sha256-+oWYW7ZigkNS6VADNmVwarIsYyd730RAdDwnNIAYvlA=";
};
goPackagePath = "mvdan.cc/xurls/v2";
subPackages = [ "cmd/xurls" ];
meta = with lib; {
description = "Extract urls from text";
homepage = "https://github.com/mvdan/xurls";
maintainers = with maintainers; [ koral ];
platforms = platforms.unix;
license = licenses.bsd3;
};
}