diff options
author | Felix Buehler <account@buehler.rocks> | 2021-08-01 20:11:18 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-08-04 22:44:30 +0200 |
commit | b2e9932ed8f7c68d62ddb251553f12cdcd1fda4b (patch) | |
tree | 3c3c2749a028d8cdc818cd95f57a6e235ace9d12 /pkgs/tools/networking/vlan | |
parent | 9a626cda34afad02dc1663a9e9748d3fb4a61a26 (diff) |
tools/networking: replace name with pname&version
Diffstat (limited to 'pkgs/tools/networking/vlan')
-rw-r--r-- | pkgs/tools/networking/vlan/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/networking/vlan/default.nix b/pkgs/tools/networking/vlan/default.nix index 2d329cb29b06a..8ddbb83463477 100644 --- a/pkgs/tools/networking/vlan/default.nix +++ b/pkgs/tools/networking/vlan/default.nix @@ -1,10 +1,11 @@ { lib, stdenv, fetchurl }: -stdenv.mkDerivation { - name = "vlan-1.9"; +stdenv.mkDerivation rec { + pname = "vlan"; + version = "1.9"; src = fetchurl { - url = "mirror://gentoo/distfiles/vlan.1.9.tar.gz"; + url = "mirror://gentoo/distfiles/vlan.${version}.tar.gz"; sha256 = "1jjc5f26hj7bk8nkjxsa8znfxcf8pgry2ipnwmj2fr6ky0dhm3rv"; }; |