mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python-version.
* gnu/packages/python-xyz.scm (python-version): New variable. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
parent
501072af86
commit
142cccef63
1 changed files with 24 additions and 0 deletions
|
@ -129,6 +129,7 @@
|
||||||
;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space>
|
;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space>
|
||||||
;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
|
;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
|
||||||
;;; Copyright © 2022 Mathieu Laparie <mlaparie@disr.it>
|
;;; Copyright © 2022 Mathieu Laparie <mlaparie@disr.it>
|
||||||
|
;;; Copyright © 2022 Garek Dyszel <garekdyszel@disroot.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -27167,6 +27168,29 @@ applications with variable CPU loads).")
|
||||||
(home-page "https://jwilk.net/software/python-djvulibre")
|
(home-page "https://jwilk.net/software/python-djvulibre")
|
||||||
(license license:gpl2)))
|
(license license:gpl2)))
|
||||||
|
|
||||||
|
(define-public python-version
|
||||||
|
;; No version tags available in the git repo; just using bare commit instead.
|
||||||
|
(let ((commit "5232eea250ab72cc5cb72b0b75efb35d2192b906")
|
||||||
|
(revision "1"))
|
||||||
|
(package
|
||||||
|
(name "python-version")
|
||||||
|
(version (git-version "0.0.2" revision commit))
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://gitlab.com/halfak/python_version")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0w210559ypdynlj9yn40m9awzkaknwrf682i99hswl7h66sdgh0h"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(home-page "https://gitlab.com/halfak/python_version")
|
||||||
|
(synopsis "Python version checking utility")
|
||||||
|
(description
|
||||||
|
"This package provides a simple utility for checking the python version.")
|
||||||
|
(license license:expat))))
|
||||||
|
|
||||||
(define-public python-versioneer
|
(define-public python-versioneer
|
||||||
(package
|
(package
|
||||||
(name "python-versioneer")
|
(name "python-versioneer")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue