diff options
author | Felix Buehler <account@buehler.rocks> | 2021-07-27 16:21:24 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-07-27 17:54:21 +0200 |
commit | 051fcdbe8b4070f4e6796cb5c27b0cc4456d2863 (patch) | |
tree | 7ea2eb757ad3a861b98a05524091f07eb945dd01 /pkgs/tools/system/pciutils | |
parent | 5ecd15039104f7f91ac4f2eb2af93835df80b91e (diff) |
tools/{security/system}: replace name with pname&version
Diffstat (limited to 'pkgs/tools/system/pciutils')
-rw-r--r-- | pkgs/tools/system/pciutils/default.nix | 5 |
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"; }; |