diff mbox

gnu: Add pext.

Message ID 20160914231541.26671-1-ng0@we.make.ritual.n0.is
State New
Headers show

Commit Message

non such Sept. 14, 2016, 11:15 p.m. UTC
* gnu/packages/python.scm (pext): New variable.
---
 gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Comments

Leo Famulari Sept. 23, 2016, 11:05 p.m. UTC | #1
On Wed, Sep 14, 2016 at 11:17:47PM +0000, ng0 wrote:
> This doesn't need installation, but it seems interesting and has an
> setup.py
> I don't know if it works, starting it outside of my profile it complains
> about a missing module.

Okay, we'll wait until you know if it works :)
diff mbox

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e2e1ec2..fabc8dc 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -58,6 +58,7 @@ 
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages icu4c)
@@ -73,6 +74,7 @@ 
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages qt)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages sdl)
   #:use-module (gnu packages statistics)
@@ -633,6 +635,35 @@  using Python 2.4 or higher and provides access to the Olson timezone database.")
 (define-public python2-pytz
   (package-with-python2 python-pytz))
 
+(define-public pext
+  (let ((commit "2524dbbd0985e30ea6495e4ad0c96fc20af7bedd")
+        (revision "1"))
+    (package
+      (name "pext")
+      (version (string-append "0.0.0-" revision "." (string-take commit 7)))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://notabug.org/SylvieLorxu/Pext")
+               (commit commit)))
+         (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32
+           "05dc36q3w3kwn6lkh5lyg0lckn0nk0xg377mxb1m2rd23f6vl00z"))))
+      (build-system python-build-system)
+      (inputs
+       `(("libnotify" ,libnotify)
+         ("python-pyqt" ,python-pyqt)
+         ("qtquickcontrols" ,qtquickcontrols)
+         ("xclip" ,xclip)))
+      (home-page "https://pext.github.io/")
+      (synopsis "Python-based extendable tool")
+      (description
+       "Pext stands for Python-based extendable tool.  Its behaviour is decided
+by modules.  Pext provides a simple window with a search bar, allowing modules
+to define what data is shown and how it is manipulated.")
+      (license license:gpl3+))))
 
 (define-public python-babel
   (package