diff options
author | Felix Buehler <account@buehler.rocks> | 2021-08-01 22:48:53 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-08-01 22:48:53 +0200 |
commit | f95d9678a9d5444fa7c95665b9cad5eac654e2f2 (patch) | |
tree | 6d5a91d656d9a292c279115e1e1a227fcef02c42 /pkgs/tools/networking/aircrack-ng | |
parent | 151c2f5a20c8d03a168242af18225f46786ef7c1 (diff) |
tools/networking: replace name with pname&version
Diffstat (limited to 'pkgs/tools/networking/aircrack-ng')
-rw-r--r-- | pkgs/tools/networking/aircrack-ng/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/networking/aircrack-ng/default.nix b/pkgs/tools/networking/aircrack-ng/default.nix index 33a90636659a7..f836fdf052f9b 100644 --- a/pkgs/tools/networking/aircrack-ng/default.nix +++ b/pkgs/tools/networking/aircrack-ng/default.nix @@ -3,10 +3,11 @@ , autoreconfHook, usbutils }: stdenv.mkDerivation rec { - name = "aircrack-ng-1.6"; + pname = "aircrack-ng"; + version = "1.6"; src = fetchurl { - url = "https://download.aircrack-ng.org/${name}.tar.gz"; + url = "https://download.aircrack-ng.org/aircrack-ng-${version}.tar.gz"; sha256 = "0ix2k64qg7x3w0bzdsbk1m50kcpq1ws59g3zkwiafvpwdr4gs2sg"; }; |