1 { lib, stdenv, fetchFromGitHub, makeWrapper, openssh }:
5 version = "unstable-2018-07-17";
7 src = fetchFromGitHub {
10 rev = "949377de0154ade2d28c6d4c4ec33b65ea813b5a";
11 sha256 = "1mwg9zh144q4fqk9016v2d347vzch8sxlixaxrz0ci9dxvs6ibd4";
14 nativeBuildInputs = [ makeWrapper ];
17 install -Dm755 rdocker.sh $out/bin/rdocker
21 wrapProgram $out/bin/rdocker \
22 --prefix PATH : ${lib.makeBinPath [ openssh ]}
26 description = "Securely control a remote docker daemon CLI using ssh forwarding, no SSL setup needed";
27 mainProgram = "rdocker";
28 homepage = "https://github.com/dvddarias/rdocker";
29 maintainers = [ lib.maintainers.pneumaticat ];
30 license = licenses.mit;
31 platforms = platforms.unix;