summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-11-04 10:46:46 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-04 12:05:53 +0000
commitbf316e14e7565cd862a5912c0a178083a2c42796 (patch)
tree284305d08eecf611cdb57e585b6ba8661bec9429 /gnu
parent2e8974aa15a5a4106ec84660cc88fb49d6cdc8b6 (diff)
gnu: Add python-menuinst.
* gnu/packages/python-xyz.scm (python-menuinst): New variable. Change-Id: Iafab812acb984b800ac04c0e77143c9eb6295e81
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 61eb8cfc57a..dc6cf80cb6c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1520,6 +1520,38 @@ be displayed on the terminal, with color if possible, for logging purposes.")
for Python.")
(license license:expat)))
+(define-public python-menuinst
+ (package
+ (name "python-menuinst")
+ (version "2.4.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/conda/menuinst")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0606j3mwpcj4rqj8mifnrdqqhp8dqf802kagqkp7mmi2wffly27w"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:tests? #f ;tests need conda
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'pretend-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
+ (native-inputs
+ (list python-setuptools
+ python-setuptools-scm))
+ (home-page "https://conda.github.io/menuinst/")
+ (synopsis "Cross platform menu item installation")
+ (description
+ "This package provides cross platform menu item installation for conda
+packages.")
+ (license license:bsd-3)))
+
(define-public python-multiplex
(package
(name "python-multiplex")