unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#43856] [PATCH] gnu: Add dex.
@ 2020-10-07 20:44 James Smith
  2020-10-13 20:32 ` bug#43856: " Marius Bakke
  0 siblings, 1 reply; 2+ messages in thread
From: James Smith @ 2020-10-07 20:44 UTC (permalink / raw)
  To: 43856; +Cc: James Smith

* gnu/packages/xdisorg.scm (dex): New variable.
---
 gnu/packages/xdisorg.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 5398761c65..443bf39304 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -40,6 +40,7 @@
 ;;; Copyright © 2020 Ivan Kozlov <kanichos@yandex.ru>
 ;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
 ;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
+;;; Copyright © 2020 James Smith <jsubuntuxp@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -104,6 +105,7 @@
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages bison)
+  #:use-module (gnu packages sphinx)
   #:use-module (ice-9 match))
 
 ;; packages outside the x.org system proper
@@ -2516,3 +2518,33 @@ using @command{dmenu}.")
 such as sway, similar to @command{rofi}.")
     (home-page "https://hg.sr.ht/~scoopta/wofi")
     (license license:gpl3+)))
+
+(define-public dex
+  (package
+    (name "dex")
+    (version "0.9.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url (string-append "https://github.com/jceb/" name))
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "03aapcywnz4kl548cygpi25m8adwbmqlmwgxa66v4156ax9dqs86"))
+              (file-name (git-file-name name version))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))
+       #:tests? #f))
+    (inputs
+     `(("python", python)))
+    (native-inputs
+     `(("python-sphinx" ,python-sphinx)))
+    (home-page "https://github.com/jceb/dex")
+    (synopsis "DesktopEntry Execution")
+    (description "dex, DesktopEntry Execution, is a program to generate and
+execute DesktopEntry files of the Application type.")
+    (license license:gpl3)))
-- 
2.28.0





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#43856: [PATCH] gnu: Add dex.
  2020-10-07 20:44 [bug#43856] [PATCH] gnu: Add dex James Smith
@ 2020-10-13 20:32 ` Marius Bakke
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2020-10-13 20:32 UTC (permalink / raw)
  To: James Smith, 43856-done; +Cc: James Smith


[-- Attachment #1.1: Type: text/plain, Size: 142 bytes --]

James Smith <jsubuntuxp@disroot.org> writes:

> * gnu/packages/xdisorg.scm (dex): New variable.

Applied with the following changes, thanks!


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: Type: text/x-patch, Size: 1184 bytes --]

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 443bf39304..d9c89053b9 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -2526,7 +2526,7 @@ such as sway, similar to @command{rofi}.")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                    (url (string-append "https://github.com/jceb/" name))
+                    (url (string-append "https://github.com/jceb/dex"))
                     (commit (string-append "v" version))))
               (sha256
                (base32
@@ -2544,7 +2544,8 @@ such as sway, similar to @command{rofi}.")
     (native-inputs
      `(("python-sphinx" ,python-sphinx)))
     (home-page "https://github.com/jceb/dex")
-    (synopsis "DesktopEntry Execution")
-    (description "dex, DesktopEntry Execution, is a program to generate and
-execute DesktopEntry files of the Application type.")
-    (license license:gpl3)))
+    (synopsis "Execute DesktopEntry files")
+    (description
+     "@command{dex}, @dfn{DesktopEntry Execution}, is a program to generate
+and execute @file{.desktop} files of the Application type.")
+    (license license:gpl3+)))

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-13 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-07 20:44 [bug#43856] [PATCH] gnu: Add dex James Smith
2020-10-13 20:32 ` bug#43856: " Marius Bakke

unofficial mirror of guix-patches@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-patches/1 guix-patches/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-patches guix-patches/ https://yhetil.org/guix-patches \
		guix-patches@gnu.org
	public-inbox-index guix-patches

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.patches


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git