mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add python2-quex@0.67.3.
* gnu/packages/python.scm (python2-quex-0.67.3): New variable.
This commit is contained in:
parent
ebd43a2a45
commit
80b58d15bc
1 changed files with 42 additions and 0 deletions
|
@ -12992,3 +12992,45 @@ (define-public python-pyinotify
|
|||
|
||||
(define-public python2-pyinotify
|
||||
(package-with-python2 python-pyinotify))
|
||||
|
||||
;; Ada parser uses this version.
|
||||
(define-public python2-quex-0.67.3
|
||||
(package
|
||||
(name "python2-quex")
|
||||
(version "0.67.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/quex/HISTORY/0.67/quex-" version ".zip"))
|
||||
(sha256
|
||||
(base32
|
||||
"14gv8ll3ipqv4kyc2xiy891nrmjl4ic823zfyx8hassagyclyppw"))
|
||||
(file-name (string-append name "-" version ".zip"))))
|
||||
(build-system python-build-system)
|
||||
(native-inputs
|
||||
`(("unzip" ,unzip)))
|
||||
(arguments
|
||||
`(#:python ,python-2
|
||||
#:tests? #f
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(delete 'build)
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(share/quex (string-append out "/share/quex"))
|
||||
(bin (string-append out "/bin")))
|
||||
(copy-recursively "." share/quex)
|
||||
(mkdir-p bin)
|
||||
(symlink (string-append share/quex "/quex-exe.py")
|
||||
(string-append bin "/quex"))
|
||||
#t))))))
|
||||
(native-search-paths
|
||||
(list (search-path-specification
|
||||
(variable "QUEX_PATH")
|
||||
(files '("share/quex")))))
|
||||
(home-page "http://quex.sourceforge.net/")
|
||||
(synopsis "Lexical analyzer generator in Python")
|
||||
(description "@code{quex} is a lexical analyzer generator in Python.")
|
||||
(license license:lgpl2.1+))) ; Non-military
|
||||
|
|
Loading…
Reference in a new issue