mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 02:24:27 +00:00
4fdb98f540
GNU macchanger is a tool for viewing/changing the MAC address of a network device, with support for address randomisation.
23 lines
619 B
Nix
23 lines
619 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
let
|
|
pname = "macchanger";
|
|
version = "1.6.0";
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
src = fetchurl {
|
|
url = "mirror://gnu/${pname}/${name}.tar.gz";
|
|
sha256 = "31534f138f1d21fa247be74ba6bef3fbfa47bbcd5033e99bd10c432fe58e51f7";
|
|
};
|
|
|
|
meta = {
|
|
description = "A utility for viewing/manipulating the MAC address of network interfaces";
|
|
maintainer = with stdenv.lib.maintainers; [ joachifm ];
|
|
license = with stdenv.lib.licenses; gpl2Plus;
|
|
homepage = "https://www.gnu.org/software/macchanger";
|
|
platform = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|