diff options
author | Jiajie Chen <c@jia.je> | 2022-06-24 11:16:45 +0800 |
---|---|---|
committer | Jiajie Chen <c@jia.je> | 2022-06-27 12:10:26 +0800 |
commit | 087eeea133e681e33b02cce3e4f3f7d0b470cff8 (patch) | |
tree | debf2b368f7f70894f769cf43b0321198eebfd3d /pkgs/os-specific | |
parent | 1fa008d23be0d2dc4de913508d98acbb7c76b1cc (diff) |
darwin.iproute2mac: 1.2.1 -> 1.4.0
https://github.com/brona/iproute2mac/releases/tag/v1.4.0 Add jiegec to maintaienr list.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/darwin/iproute2mac/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/os-specific/darwin/iproute2mac/default.nix b/pkgs/os-specific/darwin/iproute2mac/default.nix index 915ef7c915889..f542f2c5221be 100644 --- a/pkgs/os-specific/darwin/iproute2mac/default.nix +++ b/pkgs/os-specific/darwin/iproute2mac/default.nix @@ -1,21 +1,20 @@ -{ lib, stdenv, fetchFromGitHub, darwin, python2 }: +{ lib, stdenv, fetchFromGitHub, darwin, python3 }: stdenv.mkDerivation rec { - version = "1.2.1"; + version = "1.4.0"; pname = "iproute2mac"; src = fetchFromGitHub { owner = "brona"; repo = "iproute2mac"; rev = "v${version}"; - sha256 = "1n6la7blbxza2m79cpnywsavhzsdv4gzdxrkly4dppyidjg6jy1h"; + sha256 = "sha256-xakCNjmZpdVY7MMxk38EZatrakgkEeDhvljhl+aMmGg="; }; - buildInputs = [ python2 ]; + buildInputs = [ python3 ]; postPatch = '' substituteInPlace src/ip.py \ - --replace /usr/bin/python ${python2}/bin/python \ --replace /sbin/ifconfig ${darwin.network_cmds}/bin/ifconfig \ --replace /sbin/route ${darwin.network_cmds}/bin/route \ --replace /usr/sbin/netstat ${darwin.network_cmds}/bin/netstat \ @@ -32,7 +31,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/brona/iproute2mac"; description = "CLI wrapper for basic network utilites on Mac OS X inspired with iproute2 on Linux systems - ip command."; license = licenses.mit; - maintainers = with maintainers; [ flokli ]; + maintainers = with maintainers; [ jiegec ]; platforms = platforms.darwin; }; } |