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/ndisc6 | |
parent | 151c2f5a20c8d03a168242af18225f46786ef7c1 (diff) |
tools/networking: replace name with pname&version
Diffstat (limited to 'pkgs/tools/networking/ndisc6')
-rw-r--r-- | pkgs/tools/networking/ndisc6/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/networking/ndisc6/default.nix b/pkgs/tools/networking/ndisc6/default.nix index 6612315c6f2d2..6a728ec30bfef 100644 --- a/pkgs/tools/networking/ndisc6/default.nix +++ b/pkgs/tools/networking/ndisc6/default.nix @@ -1,10 +1,11 @@ { lib, stdenv, fetchurl, perl }: stdenv.mkDerivation rec { - name = "ndisc6-1.0.4"; + pname = "ndisc6"; + version = "1.0.4"; src = fetchurl { - url = "https://www.remlab.net/files/ndisc6/archive/${name}.tar.bz2"; + url = "https://www.remlab.net/files/ndisc6/archive/ndisc6-${version}.tar.bz2"; sha256 = "07swyar1hl83zxmd7fqwb2q0c0slvrswkcfp3nz5lknrk15dmcdb"; }; |