nixpkgs/pkgs/applications/misc/googler/default.nix
2017-10-01 23:47:25 +02:00

25 lines
631 B
Nix

{stdenv, fetchFromGitHub, python}:
stdenv.mkDerivation rec {
version = "3.3";
name = "googler-${version}";
src = fetchFromGitHub {
owner = "jarun";
repo = "googler";
rev = "v${version}";
sha256 = "0gkzgcf0qss7fskgswryk835vivlv1f99ym1pbxy3vv9wcwx6a43";
};
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;
};
}