at 18.03-beta 27 lines 910 B view raw
1{ stdenv, lib, fetchFromGitHub, makeWrapper 2, bridge-utils, iproute, lxc, openvswitch, docker, busybox, dhcpcd, dhcp 3}: 4 5stdenv.mkDerivation rec { 6 name = "pipework-${version}"; 7 version = "2017-08-22"; 8 src = fetchFromGitHub { 9 owner = "jpetazzo"; 10 repo = "pipework"; 11 rev = "ae42f1b5fef82b3bc23fe93c95c345e7af65fef3"; 12 sha256 = "0c342m0bpq6ranr7dsxk9qi5mg3j5aw9wv85ql8gprdb2pz59qy8"; 13 }; 14 buildInputs = [ makeWrapper ]; 15 installPhase = '' 16 install -D pipework $out/bin/pipework 17 wrapProgram $out/bin/pipework --prefix PATH : \ 18 ${lib.makeBinPath [ bridge-utils iproute lxc openvswitch docker busybox dhcpcd dhcp ]}; 19 ''; 20 meta = with lib; { 21 description = "Software-Defined Networking tools for LXC"; 22 homepage = https://github.com/jpetazzo/pipework; 23 license = licenses.asl20; 24 platforms = platforms.linux; 25 maintainers = with maintainers; [ cstrahan ]; 26 }; 27}