summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-19 09:30:34 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-19 09:30:34 +0200
commita6b937b329570e3b6a4bd64adbca3b4e7c7cc988 (patch)
tree34cb3519735cd3bc008b0038f4bc0dc79d5b0461
parent2d4b248857f2758f545a1399969f372d1b717f55 (diff)
downloadguix-a6b937b329570e3b6a4bd64adbca3b4e7c7cc988.tar.gz
gnu: hidapi: Declare a source file-name.
* gnu/packages/libusb.scm (hidapi)[source]: Add file-name field.
-rw-r--r--gnu/packages/libusb.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 629bcf5fe5..abf11400e3 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -532,6 +532,7 @@ devices.")
        (uri (git-reference
              (url "https://github.com/libusb/hidapi.git")
              (commit (string-append "hidapi-" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32 "1p4g8lgwj4rki6lbn5l6rvwj0xlbn1xfh4d255bg5pvgczmwmc4i"))))
     (build-system gnu-build-system)