From 99c2bdeb1a977951c9d50052e97edb45998472a1 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Fri, 9 Sep 2022 18:39:36 +0800 Subject: [PATCH] emacsPackages.yes-no: commit suggestions from AndersonTorres --- .../editors/emacs/elisp-packages/yes-no/default.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/editors/emacs/elisp-packages/yes-no/default.nix b/pkgs/applications/editors/emacs/elisp-packages/yes-no/default.nix index 01a50a61df47..2b51332c30d4 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/yes-no/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/yes-no/default.nix @@ -2,20 +2,13 @@ trivialBuild { pname = "yes-no"; - version = "0"; + version = "2017-10-01"; src = fetchurl { - url = "https://github.com/emacsmirror/emacswiki.org/blob/185fdc34fb1e02b43759ad933d3ee5646b0e78f8/yes-no.el"; - sha256 = "1k0nn619i82jiqm48k5nk6b8cv2rggh0i5075nhc85a2s9pwhx32"; + url = "https://raw.githubusercontent.com/emacsmirror/emacswiki.org/143bcaeb679a8fa8a548e92a5a9d5c2baff50d9c/yes-no.el"; + sha256 = "03w4wfx885y89ckyd5d95n2571nmmzrll6kr0yan3ip2aw28xq3i"; }; - dontUnpack = true; - - installPhase = '' - install -d $out/share/emacs/site-lisp - install $src $out/share/emacs/site-lisp/yes-no.el - ''; - meta = with lib; { description = "Specify use of `y-or-n-p' or `yes-or-no-p' on a case-by-case basis"; homepage = "https://www.emacswiki.org/emacs/yes-no.el";