2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl, perl}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "surfraw";
|
|
|
|
version = "2.3.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-05 21:33:18 +00:00
|
|
|
url = "https://gitlab.com/surfraw/Surfraw/uploads/2de827b2786ef2fe43b6f07913ca7b7f/surfraw-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d";
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--disable-opensearch"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ perl ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Provides a fast unix command line interface to a variety of popular WWW search engines and other artifacts of power";
|
|
|
|
homepage = "https://gitlab.com/surfraw/Surfraw";
|
|
|
|
maintainers = [];
|
2021-03-23 19:22:30 +00:00
|
|
|
platforms = lib.platforms.all;
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.publicDomain;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|