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