nixpkgs/pkgs/applications/misc/googler/default.nix

26 lines
621 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, python }:
2017-10-01 21:56:38 +01:00
stdenv.mkDerivation rec {
pname = "googler";
version = "4.0";
2017-10-01 21:56:38 +01:00
src = fetchFromGitHub {
owner = "jarun";
repo = pname;
2017-10-01 21:56:38 +01:00
rev = "v${version}";
sha256 = "13jj15ph0vmbyxjslzl6z4h5b7wyllvhwgsrb6zf7qlkcmkd4vwy";
2017-10-01 21:56:38 +01:00
};
propagatedBuildInputs = [ python ];
makeFlags = "PREFIX=$(out)";
meta = with stdenv.lib; {
homepage = "https://github.com/jarun/googler";
2017-10-01 21:56:38 +01:00
description = "Google Search, Google Site Search, Google News from the terminal";
license = licenses.gpl3;
maintainers = with maintainers; [ koral ];
platforms = platforms.unix;
};
}