mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python-find-libpython.
* gnu/packages/python-xyz.scm (python-find-libpython): New variable. Change-Id: I167f640549a0baca5b378ddb84d33b12d71e2d9a Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
b9d183e567
commit
de3954341b
1 changed files with 26 additions and 0 deletions
|
@ -162,6 +162,7 @@
|
|||
;;; Copyright © 2025 Jordan Moore <lockbox@struct.foo>
|
||||
;;; Copyright © 2025 Dariqq <dariqq@posteo.net>
|
||||
;;; Copyright © 2025 Nguyễn Gia Phong <mcsinyx@disroot.org>
|
||||
;;; Copyright © 2025, Cayetano Santos <csantosb@inventati.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -23338,6 +23339,31 @@ capable of parsing almost any programming language out there, and to
|
|||
some degree most natural languages too.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-find-libpython
|
||||
(package
|
||||
(name "python-find-libpython")
|
||||
(version "0.4.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/ktbarrett/find_libpython")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1z1r9nix2z75sv41j97pnl6jgj2lk6k8la23vavxjpprsc9ld1dd"))))
|
||||
(build-system pyproject-build-system)
|
||||
(native-inputs (list python-setuptools python-wheel
|
||||
;; tests
|
||||
python-pytest))
|
||||
(home-page "https://github.com/ktbarrett/find_libpython")
|
||||
(synopsis "Find the path to the @code{libpython} dynamic library")
|
||||
(description
|
||||
"@code{find_libpython} helps find the path to the
|
||||
@code{libpython} dynamic library for the current Python environment. It is
|
||||
both a script and a Python package.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-libcst
|
||||
(package
|
||||
(name "python-libcst")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue