summary refs log tree commit diff
path: root/pkgs/os-specific/linux/pcmciautils
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-08-27 16:47:49 +0200
committerFelix Buehler <account@buehler.rocks>2021-08-29 11:28:34 +0200
commit540499bf10a42e65146655583560dffc54cc5556 (patch)
tree255257551bc76ed34a8162c0cc9fd38870b24c13 /pkgs/os-specific/linux/pcmciautils
parent6e4706d62aa401dbe5e137100e0ef8710a59ff6c (diff)
downloadnixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar
nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.gz
nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.bz2
nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.lz
nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.xz
nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.zst
nixpkgs-540499bf10a42e65146655583560dffc54cc5556.zip
os-specific/linux: replace name with pname&version
Diffstat (limited to 'pkgs/os-specific/linux/pcmciautils')
-rw-r--r--pkgs/os-specific/linux/pcmciautils/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/pcmciautils/default.nix b/pkgs/os-specific/linux/pcmciautils/default.nix
index a4da6be691e..bca58bd808e 100644
--- a/pkgs/os-specific/linux/pcmciautils/default.nix
+++ b/pkgs/os-specific/linux/pcmciautils/default.nix
@@ -7,10 +7,11 @@
 
 # FIXME: should add an option to choose between hotplug and udev.
 stdenv.mkDerivation rec {
-  name = "pcmciautils-018";
+  pname = "pcmciautils";
+  version = "018";
 
   src = fetchurl {
-    url = "https://kernel.org/pub/linux/utils/kernel/pcmcia/${name}.tar.gz";
+    url = "https://kernel.org/pub/linux/utils/kernel/pcmcia/pcmciautils-${version}.tar.gz";
     sha256 = "0sfm3w2n73kl5w7gb1m6q8gy5k4rgwvzz79n6yhs9w3sag3ix8sk";
   };