cht-sh: use unstableGitUpdater

This commit is contained in:
Francesco Gazzetta 2020-12-02 17:23:54 +01:00
parent ff8e2db0cf
commit 26b2ced506

View File

@ -1,5 +1,6 @@
{ stdenv { stdenv
, fetchFromGitHub , fetchFromGitHub
, unstableGitUpdater
, makeWrapper , makeWrapper
, curl , curl
, ncurses , ncurses
@ -35,6 +36,8 @@ stdenv.mkDerivation {
--prefix PATH : "${stdenv.lib.makeBinPath [ curl rlwrap ncurses xsel ]}" --prefix PATH : "${stdenv.lib.makeBinPath [ curl rlwrap ncurses xsel ]}"
''; '';
passthru.updateScript = unstableGitUpdater { };
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "CLI client for cheat.sh, a community driven cheat sheet"; description = "CLI client for cheat.sh, a community driven cheat sheet";
license = licenses.mit; license = licenses.mit;
@ -42,4 +45,3 @@ stdenv.mkDerivation {
homepage = "https://github.com/chubin/cheat.sh"; homepage = "https://github.com/chubin/cheat.sh";
}; };
} }