[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/09: gnu: Add python-opcodes.
From: |
guix-commits |
Subject: |
01/09: gnu: Add python-opcodes. |
Date: |
Wed, 4 Aug 2021 11:23:14 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 14428aa07fe830b2d61fee1a5d7c19c182a169e9
Author: Ludovic Courtès <ludovic.courtes@inria.fr>
AuthorDate: Mon Aug 2 19:36:58 2021 +0200
gnu: Add python-opcodes.
* gnu/packages/python-xyz.scm (python-opcodes): New variable.
---
gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 61db9fe..11c2e5f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26191,3 +26191,36 @@ enabling you to write CommonMark inside of Docutils &
Sphinx projects.")
Qhull} for the computation of the convex hull, Delaunay triangulation, and
Voronoi diagram.")
(license license:expat)))
+
+(define-public python-opcodes
+ ;; There are no tags in this repo, but 'opcodes/__init__.py' specifies a
+ ;; version number, which is what we use here.
+ (let ((commit "0f7c7d63f5e13ce5a89d9acc3934f1b6e247ec1f"))
+ (package
+ (name "python-opcodes")
+ (version "0.3.14") ;from 'opcodes/__init__.py'
+ (home-page "https://github.com/Maratyszcza/Opcodes")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page) (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1fvxkr83gfl9f0ikd2wl2lzazzya2qz1hk4yn2a0pq742brbwpys"))))
+ (build-system python-build-system)
+ (synopsis "Database of processor instructions and opcodes")
+ (description
+ "This project documents instruction sets in a format convenient for
+tools development. An instruction set is represented by three files:
+
+@itemize
+@item an XML file that describes instructions;
+@item an XSD file that describes the structure of the XML file;
+@item a Python module that reads the XML file and represents it as a set of
+Python objects;
+@end itemize
+
+It currently provides descriptions for most user-mode x86, x86_64, and k1om
+instructions up to AVX-512 and SHA (including 3dnow!+, XOP, FMA3, FMA4, TBM
+and BMI2).")
+ (license license:bsd-2))))
- branch master updated (48542e0 -> 6272222), guix-commits, 2021/08/04
- 09/09: gnu: Fix broken links to Arch Linux git repositories, guix-commits, 2021/08/04
- 02/09: gnu: Add python-peachpy., guix-commits, 2021/08/04
- 06/09: gnu: Add python-pytorch., guix-commits, 2021/08/04
- 01/09: gnu: Add python-opcodes.,
guix-commits <=
- 05/09: gnu: gemmlowp: Add "generic" variant., guix-commits, 2021/08/04
- 07/09: gnu: Add python-clang., guix-commits, 2021/08/04
- 08/09: import: Use PARSE-COMMAND-LINE for options., guix-commits, 2021/08/04
- 03/09: gnu: gloo: Update to c22a5cf., guix-commits, 2021/08/04
- 04/09: gnu: gloo: Honor #:tests? in 'check' phase., guix-commits, 2021/08/04