mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
cht-sh: use unstableGitUpdater
This commit is contained in:
parent
ff8e2db0cf
commit
26b2ced506
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, unstableGitUpdater
|
||||
, makeWrapper
|
||||
, curl
|
||||
, ncurses
|
||||
|
@ -35,6 +36,8 @@ stdenv.mkDerivation {
|
|||
--prefix PATH : "${stdenv.lib.makeBinPath [ curl rlwrap ncurses xsel ]}"
|
||||
'';
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "CLI client for cheat.sh, a community driven cheat sheet";
|
||||
license = licenses.mit;
|
||||
|
@ -42,4 +45,3 @@ stdenv.mkDerivation {
|
|||
homepage = "https://github.com/chubin/cheat.sh";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue