2017-10-01 22:56:38 +02:00
|
|
|
{stdenv, fetchFromGitHub, python}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-14 18:25:47 +01:00
|
|
|
version = "3.5";
|
2017-10-01 22:56:38 +02:00
|
|
|
name = "googler-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jarun";
|
|
|
|
repo = "googler";
|
|
|
|
rev = "v${version}";
|
2018-03-14 18:25:47 +01:00
|
|
|
sha256 = "0z5cngg1kr3b484zddqlg9yn7crbmnd78pdb8vzd32mkp3fahcxa";
|
2017-10-01 22:56:38 +02: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;
|
|
|
|
};
|
|
|
|
}
|