From 8ab106b3b735c61a6a85931db383260501f7ffb9 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Tue, 10 Dec 2024 00:51:44 +0100 Subject: [PATCH] gnu: Add python-mathics-scanner. * gnu/packages/maths.scm (python-mathics-scanner): New variable. Change-Id: I62aabc48e691dba587be0ddf34dac42a2d316b3d --- gnu/packages/maths.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index d57013ec9d..62bb666df4 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -10453,3 +10453,27 @@ (define-public bliss +and canonical forms of graphs. It has both a command line user interface as +well as C++ and C programming language APIs.") (license license:lgpl3))) + +(define-public python-mathics-scanner + (package + (name "python-mathics-scanner") + (version "1.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Mathics3/mathics-scanner.git") + (commit "1.3.1"))) + (sha256 + (base32 + "1i632v3f64q3v1i0p0x850mjhgad49fl24dl6r20r4wa1mhalmp0")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-chardet python-click python-pyyaml)) + (native-inputs (list python-pytest)) + (home-page "https://mathics.org/") + (synopsis + "Character tables and tokenizer for Mathics and the Wolfram language") + (description + "This package provides character tables and a tokenizer for Mathics and +the Wolfram language.") + (license license:gpl3+)))