uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
33
pkgs/applications/misc/googler/default.nix
Normal file
33
pkgs/applications/misc/googler/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchFromGitHub, python, installShellFiles }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "googler";
|
||||
version = "4.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jarun";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-PgWg396AQ15CAnfTXGDpSg1UXx7mNCtknEjJd/KV4MU=";
|
||||
};
|
||||
|
||||
buildInputs = [ python ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --bash --name googler.bash auto-completion/bash/googler-completion.bash
|
||||
installShellCompletion --fish auto-completion/fish/googler.fish
|
||||
installShellCompletion --zsh auto-completion/zsh/_googler
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/jarun/googler";
|
||||
description = "Google Search, Google Site Search, Google News from the terminal";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ koral Br1ght0ne ];
|
||||
platforms = python.meta.platforms;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue