diff mbox series

[bug#54748] gnu: Add envytools.

Message ID 4FDrg8_eJOcph1AEW6bLiVepzH542kN-fRsZnxUK0hY-1KKSmc5hhv9CQ0d2jDfLjM9Stpk_hJm7Fdp4JA67Y5_RNEU_PCRIYmMPsrH0-dw=@protonmail.com
State Accepted
Headers show
Series [bug#54748] gnu: Add envytools. | expand

Commit Message

phodina April 6, 2022, 12:40 p.m. UTC
Empty Message
diff mbox series

Patch

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.

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