1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 23:55:23 +00:00
nixpkgs/pkgs/tools/text/xurls/default.nix

25 lines
584 B
Nix
Raw Normal View History

2018-12-11 18:28:09 +00:00
{ buildGoPackage, stdenv, fetchFromGitHub }:
2015-07-14 09:25:35 +01:00
2018-12-11 18:28:09 +00:00
buildGoPackage rec {
2020-05-19 05:54:27 +01:00
version = "2.2.0";
pname = "xurls";
2015-07-14 09:25:35 +01:00
src = fetchFromGitHub {
owner = "mvdan";
repo = "xurls";
rev = "v${version}";
2020-05-19 05:54:27 +01:00
sha256 = "0w7i1yfl5q24wvmsfb3fz1zcqsdh4c6qikjnmswxbjc7wva8rngg";
2015-07-14 09:25:35 +01:00
};
2018-12-11 18:28:09 +00:00
goPackagePath = "mvdan.cc/xurls/v2";
subPackages = [ "cmd/xurls" ];
2015-07-14 09:25:35 +01:00
meta = with stdenv.lib; {
description = "Extract urls from text";
homepage = "https://github.com/mvdan/xurls";
2019-12-26 21:28:10 +00:00
maintainers = with maintainers; [ koral ];
platforms = platforms.unix;
2018-07-22 15:57:28 +01:00
license = licenses.bsd3;
2015-07-14 09:25:35 +01:00
};
}