about summary refs log tree commit diff
path: root/pkgs/tools/system/pciutils
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-07-27 16:21:24 +0200
committerFelix Buehler <account@buehler.rocks>2021-07-27 17:54:21 +0200
commit051fcdbe8b4070f4e6796cb5c27b0cc4456d2863 (patch)
tree7ea2eb757ad3a861b98a05524091f07eb945dd01 /pkgs/tools/system/pciutils
parent5ecd15039104f7f91ac4f2eb2af93835df80b91e (diff)
tools/{security/system}: replace name with pname&version
Diffstat (limited to 'pkgs/tools/system/pciutils')
-rw-r--r--pkgs/tools/system/pciutils/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/system/pciutils/default.nix b/pkgs/tools/system/pciutils/default.nix
index 8c017c42d7a38..95fd4f52c3935 100644
--- a/pkgs/tools/system/pciutils/default.nix
+++ b/pkgs/tools/system/pciutils/default.nix
@@ -5,10 +5,11 @@
 }:
 
 stdenv.mkDerivation rec {
-  name = "pciutils-3.7.0"; # with release-date database
+  pname = "pciutils";
+  version = "3.7.0"; # with release-date database
 
   src = fetchurl {
-    url = "mirror://kernel/software/utils/pciutils/${name}.tar.xz";
+    url = "mirror://kernel/software/utils/pciutils/pciutils-${version}.tar.xz";
     sha256 = "1ss0rnfsx8gvqjxaji4mvbhf9xyih4cadmgadbwwv8mnx1xvjh4x";
   };