26 lines
635 B
Nix
Raw Normal View History

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