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