gnu: Add python-pyqt+qscintilla.
* gnu/packages/qt.scm (python-pyqt+qscintilla): New variable.
This commit is contained in:
parent
06d04dbcfc
commit
2456153adc
1 changed files with 25 additions and 0 deletions
|
@ -30,6 +30,7 @@ (define-module (gnu packages qt)
|
||||||
#:use-module (guix build utils)
|
#:use-module (guix build utils)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
|
#:use-module (guix build-system trivial)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
|
@ -1455,6 +1456,30 @@ (define-public python-qscintilla
|
||||||
|
|
||||||
This package provides the Python bindings.")))
|
This package provides the Python bindings.")))
|
||||||
|
|
||||||
|
;; PyQt only looks for modules in its own directory. It ignores environment
|
||||||
|
;; variables such as PYTHONPATH, so we need to build a union package to make
|
||||||
|
;; it work.
|
||||||
|
(define-public python-pyqt+qscintilla
|
||||||
|
(package (inherit python-pyqt)
|
||||||
|
(name "python-pyqt+qscintilla")
|
||||||
|
(source #f)
|
||||||
|
(build-system trivial-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:modules ((guix build union))
|
||||||
|
#:builder (begin
|
||||||
|
(use-modules (ice-9 match)
|
||||||
|
(guix build union))
|
||||||
|
(match %build-inputs
|
||||||
|
(((names . directories) ...)
|
||||||
|
(union-build (assoc-ref %outputs "out")
|
||||||
|
directories))))))
|
||||||
|
(inputs
|
||||||
|
`(("python-pyqt" ,python-pyqt)
|
||||||
|
("python-qscintilla" ,python-qscintilla)))
|
||||||
|
(synopsis "Union of PyQt and the Qscintilla extension")
|
||||||
|
(description
|
||||||
|
"This package contains the union of PyQt and the Qscintilla extension.")))
|
||||||
|
|
||||||
(define-public qtkeychain
|
(define-public qtkeychain
|
||||||
(package
|
(package
|
||||||
(name "qtkeychain")
|
(name "qtkeychain")
|
||||||
|
|
Loading…
Reference in a new issue