Subject: [bug#74581] [PATCH] gnu: Add pyre.

From: Sharlatan Hellseher <[email-masked]>
Date: Mon, 16 Dec 2024 21:30:34 +0000

Hi Maxim,

Did you try to import from PyPI? I've gave it a go and with some
adjustment it may be built with pyproject-build-system as a native python
library, WDYT?

From 95b59ea9f569bad1bdb17d0b1cbb79c69e3cc4df Mon Sep 17 00:00:00 2001
Message-ID: <95b[email-masked]>
From: Sharlatan Hellseher <[email-masked]>
Date: Mon, 16 Dec 2024 21:24:28 +0000
Subject: [PATCH] gnu: Add python-pyre.

* gnu/packages/python-science.scm (python-pyre): New variable.

Change-Id: Iabdcfc2febd90cd002a86d7aec505be6de65d632
---
 gnu/packages/python-science.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 05c6ac1fc1..869b97e37e 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -223,6 +223,36 @@ (define-public python-osqp
 numerical optimization package.")
     (license license:asl2.0)))
 
+(define-public python-pyre
+  (package
+    (name "python-pyre")
+    (version "1.12.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyre" version))
+       (sha256
+        (base32 "1mlk4blh1q47jvwz9glkvnhg7hs5ax27s2jakcjsir8gbsvy1qcv"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list pybind11
+           python-numpy
+           python-scikit-build
+           python-setuptools
+           python-setuptools-scm
+           python-wheel))
+    (propagated-inputs
+     (list python-pyyaml))
+    (home-page "http://pyre.orthologue.com/")
+    (synopsis "Framework for building scientific applications")
+    (description
+     "This package provides a framework for building scientific applications.
+It aims to bring state of the art software design practices to scientific
+computing, with the goal of providing a strong skeleton on which to build
+scientific codes by steering the implementation towards usability and
+maintainability.")
+    (license license:bsd-3)))
+
 (define-public python-qdldl
   (package
     (name "python-qdldl")

base-commit: a3ffb920f14cd0d31d1e7067e11dc523fe380996
-- 
2.46.0

--
Oleg