nixpkgs/pkgs/applications/misc/googler/default.nix

26 lines
635 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, python }:
2017-10-01 21:56:38 +01:00
stdenv.mkDerivation rec {
pname = "googler";
2020-07-31 02:16:19 +01:00
version = "4.2";
2017-10-01 21:56:38 +01:00
src = fetchFromGitHub {
owner = "jarun";
repo = pname;
2017-10-01 21:56:38 +01:00
rev = "v${version}";
2020-07-31 02:16:19 +01:00
sha256 = "0c480wzc7q4pks1f6mnayr580c73jhzshliz4hgznzc7zwcdf41w";
2017-10-01 21:56:38 +01:00
};
propagatedBuildInputs = [ python ];
makeFlags = [ "PREFIX=$(out)" ];
2017-10-01 21:56:38 +01:00
meta = with stdenv.lib; {
homepage = "https://github.com/jarun/googler";
2017-10-01 21:56:38 +01:00
description = "Google Search, Google Site Search, Google News from the terminal";
license = licenses.gpl3;
2019-12-05 21:28:49 +00:00
maintainers = with maintainers; [ koral filalex77 ];
2017-10-01 21:56:38 +01:00
platforms = platforms.unix;
};
}