From cba0147b27978a8e4c30d4c2ff68aa174da8152f Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Fri, 29 Mar 2024 09:57:59 +0100 Subject: gnu: Add python-find-libpython. * gnu/packages/python-xyz.scm (python-find-libpython): New variable. --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bac90b1e07..951de46d8b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21050,6 +21050,29 @@ 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-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") -- cgit v1.2.3