diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-10 01:38:36 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-11 21:34:59 +0000 |
| commit | faf995643075b2dfb0b9d64bf5db9b0bd9e71f7c (patch) | |
| tree | 39846ebe358dab85bc927515c23294bad2c224f0 /gnu/packages/python-xyz.scm | |
| parent | 4befed0e4181884f39b1e47695cceab999b29c11 (diff) | |
gnu: python-jinxed: Update to 1.3.0.
* gnu/packages/python-xyz.scm (python-jinxed): Update to 1.3.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style.
[native-inputs]: Add python-setuptools.
Change-Id: Ic4d9e4d07181df904d37f903ce0e49f430e62f67
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 60bf1440049..6200e0a029b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30644,27 +30644,28 @@ For the most part it's transliterated from C, the major differences are: (define-public python-jinxed (package (name "python-jinxed") - (version "1.0.0") + (version "1.3.0") (source - (origin - (method url-fetch) - (uri (pypi-uri "jinxed" version)) - (sha256 - (base32 - "1n7vl03rhjd0xhjgbjlh8x9f8yfbhamcwkgvs4jg7g5qj8f0wk89")))) - (build-system python-build-system) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Rockhopper-Technologies/jinxed") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1cssqc5fvy3nx0q94ia79vhldfi0r2pq5nkagdvnkhmlnz26a3n8")))) + (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (add-before 'check 'set-environment-variables - (lambda* (#:key inputs #:allow-other-keys) - (let ((ncurses (assoc-ref inputs "ncurses"))) - (setenv "TERM" "LINUX") - (setenv "TERMINFO" (string-append ncurses "/share/terminfo")) - #t)))) - #:tests? #f)) ; _curses.error: setupterm: could not find terminal - (native-inputs - (list ncurses)) + (list + #:tests? #f ;_curses.error: setupterm: could not find terminal + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-environment-variables + (lambda* (#:key inputs #:allow-other-keys) + (setenv "TERM" "LINUX") + (setenv "TERMINFO" + (search-input-directory inputs "share/terminfo"))))))) + (native-inputs (list ncurses python-setuptools)) (home-page "https://github.com/Rockhopper-Technologies/jinxed") (synopsis "Jinxed Terminal Library") (description |
