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