cht-sh: use unstableGitUpdater
This commit is contained in:
parent
ff8e2db0cf
commit
26b2ced506
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user