nixpkgs/pkgs/applications/misc/googler/default.nix
R. RyanTM 1d1a81a449 googler: 3.5 -> 3.6 (#41064)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/googler/versions.

These checks were done:

- built on NixOS
- /nix/store/j4h3gxrjzx798n8qrpk6l4v2a2k3awvm-googler-3.6/bin/googler passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 1 of 1 passed binary check by having the new version present in output.
- found 3.6 with grep in /nix/store/j4h3gxrjzx798n8qrpk6l4v2a2k3awvm-googler-3.6
- directory tree listing: https://gist.github.com/bf1d55519dae4406e4f5bdbd78c44644
- du listing: https://gist.github.com/805653ac2fcc2c1c10d65d1e5298620e
2018-05-28 14:49:25 +02:00

26 lines
631 B
Nix

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