[PATCH] gnu: Add envytools.

DoneSubmitted by phodina.
Details
2 participants
  • Ludovic Courtès
  • phodina
Owner
unassigned
Severity
normal
P
P
phodina wrote on 6 Apr 14:40 +0200
(name . Guix Patches)(address . guix-patches@gnu.org)
4FDrg8_eJOcph1AEW6bLiVepzH542kN-fRsZnxUK0hY-1KKSmc5hhv9CQ0d2jDfLjM9Stpk_hJm7Fdp4JA67Y5_RNEU_PCRIYmMPsrH0-dw=@protonmail.com
Empty Message
Attachment: file
From 1a2e8b39f30d8ef38041a42b3718598c147f15b2 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Wed, 6 Apr 2022 14:36:49 +0200
Subject: [PATCH] gnu: Add envytools.

* gnu/packages/hardware.scm (envytools): New variable.

Toggle diff (55 lines)
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index 60b9a9f17b..a0db34400c 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2021 Evgeny Pisemsky <evgeny@pisemsky.com>
 ;;; Copyright © 2021 Léo Le Bouter <lle-bout@zaclys.net>
 ;;; Copyright © 2021 Denis Carikli <GNUtoo@cyberdimension.org>
-;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
+;;; Copyright © 2021, 2022 Petr Hodina <phodina@protonmail.com>
 ;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
 ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2021, 2022 John Kehayias <john.kehayias@protonmail.com>
@@ -34,6 +34,7 @@ (define-module (gnu packages hardware)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages bash)
+  #:use-module (gnu packages bison)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cpp)
@@ -82,6 +83,31 @@ (define-module (gnu packages hardware)
 ;; This is a module for packages related to physical hardware that don't (yet)
 ;; have a more specific home like gps.scm, security-token.scm, &c.
 
+
+(define-public envytools
+  (let ((commit "9014a51b1436461c7b3b005bdae72bf4912f4e72")
+        (revision "1"))
+    (package
+      (name "envytools")
+      (version (git-version "0.1-pre" revision commit))
+      (home-page "https://github.com/envytools/envytools")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url home-page)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1lqh73yxd5jgv7b770m37zimzhyn4f3053jybkixkhvm93zka8vd"))))
+      (build-system cmake-build-system)
+      (native-inputs (list bison flex pkg-config))
+      (inputs (list libxml2 python))
+      (synopsis "Tools for exploring Nvidia blob driver")
+      (description
+       "This package provides tools for exploring Nvidia binary driver.")
+      (license license:expat))))
+
 (define-public hwinfo
   (package
     (name "hwinfo")
-- 
2.34.0
L
L
Ludovic Courtès wrote on 29 Apr 15:26 +0200
(name . phodina)(address . phodina@protonmail.com)(address . 54748-done@debbugs.gnu.org)
87o80k6mx1.fsf@gnu.org
Hi,

phodina <phodina@protonmail.com> skribis:

Toggle quote (8 lines)
> From 1a2e8b39f30d8ef38041a42b3718598c147f15b2 Mon Sep 17 00:00:00 2001
> From: Petr Hodina <phodina@protonmail.com>
> Date: Wed, 6 Apr 2022 14:36:49 +0200
> Subject: [PATCH] gnu: Add envytools.
>
> * gnu/packages/hardware.scm (envytools): New variable.
>

Applied with the cosmetic changes below.

Thanks,
Ludo’.
Toggle diff (27 lines)
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index a0db34400c..38bc3881b9 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -89,7 +89,7 @@ (define-public envytools
         (revision "1"))
     (package
       (name "envytools")
-      (version (git-version "0.1-pre" revision commit))
+      (version (git-version "0.1" revision commit))
       (home-page "https://github.com/envytools/envytools")
       (source (origin
                 (method git-fetch)
@@ -103,9 +103,11 @@ (define-public envytools
       (build-system cmake-build-system)
       (native-inputs (list bison flex pkg-config))
       (inputs (list libxml2 python))
-      (synopsis "Tools for exploring Nvidia blob driver")
+      (synopsis "Reverse-engineering tools for Nvidia's proprietary GPU drivers")
       (description
-       "This package provides tools for exploring Nvidia binary driver.")
+       "This package provides tools for exploring Nvidia's proprietary GPU
+drivers, including an assembler and a disassembler for several GPU instruction
+sets, and tools to deal with register databases.")
       (license license:expat))))
 
 (define-public hwinfo
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 54748@debbugs.gnu.org