2017-10-01 21:56:38 +01:00
|
|
|
{stdenv, fetchFromGitHub, python}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-05-28 13:49:25 +01:00
|
|
|
version = "3.6";
|
2017-10-01 21:56:38 +01:00
|
|
|
name = "googler-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jarun";
|
|
|
|
repo = "googler";
|
|
|
|
rev = "v${version}";
|
2018-05-28 13:49:25 +01:00
|
|
|
sha256 = "1j1755b9mfmkqkgjrlsi4wr82352pqc9rfyalammqn6qrm3v3lb6";
|
2017-10-01 21:56:38 +01: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;
|
|
|
|
};
|
|
|
|
}
|