1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 18:12:46 +00:00
nixpkgs/pkgs/applications/misc/googler/default.nix

26 lines
633 B
Nix
Raw Normal View History

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