nixpkgs/pkgs/applications/misc/googler/default.nix
Ryan Mulligan 725c2b322b googler: 3.3 -> 3.5
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/g2q5sbf3gfjrm20zdgzpdk1fd01w5yj7-googler-3.5/bin/googler -h` got 0 exit code
- ran `/nix/store/g2q5sbf3gfjrm20zdgzpdk1fd01w5yj7-googler-3.5/bin/googler --help` got 0 exit code
- ran `/nix/store/g2q5sbf3gfjrm20zdgzpdk1fd01w5yj7-googler-3.5/bin/googler -v` and found version 3.5
- ran `/nix/store/g2q5sbf3gfjrm20zdgzpdk1fd01w5yj7-googler-3.5/bin/googler --version` and found version 3.5
- ran `/nix/store/g2q5sbf3gfjrm20zdgzpdk1fd01w5yj7-googler-3.5/bin/googler -h` and found version 3.5
- ran `/nix/store/g2q5sbf3gfjrm20zdgzpdk1fd01w5yj7-googler-3.5/bin/googler --help` and found version 3.5
- found 3.5 with grep in /nix/store/g2q5sbf3gfjrm20zdgzpdk1fd01w5yj7-googler-3.5
- found 3.5 in filename of file in /nix/store/g2q5sbf3gfjrm20zdgzpdk1fd01w5yj7-googler-3.5
2018-03-14 10:25:47 -07:00

26 lines
631 B
Nix

{stdenv, fetchFromGitHub, python}:
stdenv.mkDerivation rec {
version = "3.5";
name = "googler-${version}";
src = fetchFromGitHub {
owner = "jarun";
repo = "googler";
rev = "v${version}";
sha256 = "0z5cngg1kr3b484zddqlg9yn7crbmnd78pdb8vzd32mkp3fahcxa";
};
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;
};
}