Merge pull request #178822 from jiegec/iproute2mac

darwin.iproute2mac: 1.2.1 -> 1.4.0

authored by Florian Klink and committed by GitHub 21caffdf f72ea3ce

+11 -6
+6
maintainers/maintainer-list.nix
··· 6003 6003 githubId = 2502736; 6004 6004 name = "James Hillyerd"; 6005 6005 }; 6006 + jiegec = { 6007 + name = "Jiajie Chen"; 6008 + email = "c@jia.je"; 6009 + github = "jiegec"; 6010 + githubId = 6127678; 6011 + }; 6006 6012 jiehong = { 6007 6013 email = "nixos@majiehong.com"; 6008 6014 github = "Jiehong";
+5 -6
pkgs/os-specific/darwin/iproute2mac/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, darwin, python2 }: 1 + { lib, stdenv, fetchFromGitHub, darwin, python3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "1.2.1"; 4 + version = "1.4.0"; 5 5 pname = "iproute2mac"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "brona"; 9 9 repo = "iproute2mac"; 10 10 rev = "v${version}"; 11 - sha256 = "1n6la7blbxza2m79cpnywsavhzsdv4gzdxrkly4dppyidjg6jy1h"; 11 + sha256 = "sha256-xakCNjmZpdVY7MMxk38EZatrakgkEeDhvljhl+aMmGg="; 12 12 }; 13 13 14 - buildInputs = [ python2 ]; 14 + buildInputs = [ python3 ]; 15 15 16 16 postPatch = '' 17 17 substituteInPlace src/ip.py \ 18 - --replace /usr/bin/python ${python2}/bin/python \ 19 18 --replace /sbin/ifconfig ${darwin.network_cmds}/bin/ifconfig \ 20 19 --replace /sbin/route ${darwin.network_cmds}/bin/route \ 21 20 --replace /usr/sbin/netstat ${darwin.network_cmds}/bin/netstat \ ··· 32 31 homepage = "https://github.com/brona/iproute2mac"; 33 32 description = "CLI wrapper for basic network utilites on Mac OS X inspired with iproute2 on Linux systems - ip command."; 34 33 license = licenses.mit; 35 - maintainers = with maintainers; [ flokli ]; 34 + maintainers = with maintainers; [ jiegec ]; 36 35 platforms = platforms.darwin; 37 36 }; 38 37 }