3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/googler/default.nix

26 lines
631 B
Nix
Raw Normal View History

2017-10-01 21:56:38 +01:00
{stdenv, fetchFromGitHub, python}:
stdenv.mkDerivation rec {
version = "3.9";
2017-10-01 21:56:38 +01:00
name = "googler-${version}";
src = fetchFromGitHub {
owner = "jarun";
repo = "googler";
rev = "v${version}";
sha256 = "0zqq157i0rfrja8yqnqr9rfrp5apzc7cxb7d7ppv6abkc5bckyqc";
2017-10-01 21:56:38 +01:00
};
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 ];
platforms = platforms.unix;
};
}