From 6ce8d9be438f9d16338232ebf03a4f749cc1ff4f Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Wed, 6 Apr 2022 14:36:49 +0200 Subject: gnu: Add envytools. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/hardware.scm (envytools): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/hardware.scm | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'gnu/packages/hardware.scm') diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 60b9a9f17b..38bc3881b9 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2021 Evgeny Pisemsky ;;; Copyright © 2021 Léo Le Bouter ;;; Copyright © 2021 Denis Carikli -;;; Copyright © 2021 Petr Hodina +;;; Copyright © 2021, 2022 Petr Hodina ;;; Copyright © 2021 Raghav Gururajan ;;; Copyright © 2021 Vinicius Monego ;;; Copyright © 2021, 2022 John Kehayias @@ -34,6 +34,7 @@ #: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,33 @@ ;; 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" 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 "Reverse-engineering tools for Nvidia's proprietary GPU drivers") + (description + "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 (package (name "hwinfo") -- cgit v1.2.3