1 { lib, fetchFromGitHub, rustPlatform, makeWrapper, openssh, nix-serve }:
3 rustPlatform.buildRustPackage rec {
4 pname = "nix-simple-deploy";
7 src = fetchFromGitHub {
11 sha256 = "1qq4fbsd2mvxblsggwbnh88mj18f3vrfzv1kgc7a92pfiwxznq8r";
14 cargoSha256 = "1r6dl7qipbyyvjcd3l9ynawjln1g1qzvw5za6nyjcf41dzv48m8x";
16 nativeBuildInputs = [ makeWrapper ];
19 wrapProgram "$out/bin/nix-simple-deploy" \
20 --prefix PATH : "${lib.makeBinPath [ openssh nix-serve ]}"
24 description = "Deploy software or an entire NixOS system configuration to another NixOS system";
25 homepage = "https://github.com/misuzu/nix-simple-deploy";
26 platforms = platforms.unix;
27 license = with licenses; [ asl20 /* OR */ mit ];
28 maintainers = with maintainers; [ misuzu ];