summary refs log tree commit diff
path: root/pkgs/tools/networking/surfraw/default.nix
blob: d26bdbbb771ac152bb26aaa967aa4fb1fa178882 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{stdenv, fetchurl, perl}:

stdenv.mkDerivation {
  name = "surfraw-2.3.0";

  src = fetchurl {
    url = "https://gitlab.com/surfraw/Surfraw/uploads/2de827b2786ef2fe43b6f07913ca7b7f/surfraw-2.3.0.tar.gz";
    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 = [];
    platforms = stdenv.lib.platforms.linux;
    license = stdenv.lib.licenses.publicDomain;
  };
}