From 518330e6c753615a88a5f5dfbe8458fbcd820718 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Fri, 21 Nov 2025 13:49:46 -0300 Subject: [PATCH] gnu: emacs-dired-launch: Use Git instead of MELPA. * gnu/packages/emacs-xyz.scm (emacs-dired-launch): Cleanup. [source]: Use git repository. [arguments][#:tests?]: Set as #f. Change-Id: Id4e99a11bff9370212d11a818e6dcd4451f86e87 --- gnu/packages/emacs-xyz.scm | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 783728bae5a..df3dfc1ac76 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -34147,21 +34147,29 @@ customisation options to control its behaviour.") (license license:gpl3+))) (define-public emacs-dired-launch - (package - (name "emacs-dired-launch") - (version "20240809.1910") - (source (origin - (method url-fetch) - (uri (string-append "https://melpa.org/packages/dired-launch-" - version ".tar")) - (sha256 - (base32 - "1zgs1hzy04pywpcgn5r8s7aah2bv1p5x5lmlcqg9yranxj8a9k6d")))) - (build-system emacs-build-system) - (synopsis "Extra command to launch external programs") - (description "This package provides a method to open entries in external programs from dired.") - (home-page "https://codeberg.org/thomp/dired-launch") - (license license:gpl3+))) + (let ((commit "97eb002a2090518df86182e9f1db703850534fb7") + (revision "0")) + (package + (name "emacs-dired-launch") + (version (git-version "0.2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/thomp/dired-launch") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1rnjp0fb0rakaky7pa6vdpz8cpf2dg5k9zsvxl8h6lcc9b7qa61c")))) + (build-system emacs-build-system) + (arguments + (list + #:tests? #f)) ; No tests + (synopsis "Extra command to launch external programs") + (description "This package provides a method to open entries in external programs from dired.") + (home-page "https://codeberg.org/thomp/dired-launch") + (license license:gpl3+)))) (define-public emacs-dired-rsync (package