aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/misc/googler/default.nix
blob: fba36f5e8ac7990cfb051e501fe5178c2353578c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub, python }:

stdenv.mkDerivation rec {
  pname = "googler";
  version = "4.1";

  src = fetchFromGitHub {
    owner = "jarun";
    repo = pname;
    rev = "v${version}";
    sha256 = "04d7n2l159s7c9xzvyvbnbii1k3zdbajagpx09x1l692cwjbvpxw";
  };

  propagatedBuildInputs = [ python ];

  makeFlags = [ "PREFIX=$(out)" ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/jarun/googler";
    description = "Google Search, Google Site Search, Google News from the terminal";
    license = licenses.gpl3;
    maintainers = with maintainers; [ koral filalex77 ];
    platforms = platforms.unix;
  };
}