Unverified Commit 5e007ce3 authored by Emily's avatar Emily Committed by GitHub
Browse files

Merge pull request #335640 from Mic92/nix-simple-deploy

nix-simple-deploy: remove
parents 0a94515f 25cf4a8e
Loading
Loading
Loading
Loading
+0 −31
Original line number Diff line number Diff line
{ lib, fetchFromGitHub, rustPlatform, makeWrapper, openssh, nix-serve }:

rustPlatform.buildRustPackage rec {
  pname = "nix-simple-deploy";
  version = "0.2.2";

  src = fetchFromGitHub {
    owner = "misuzu";
    repo = pname;
    rev = version;
    sha256 = "1qq4fbsd2mvxblsggwbnh88mj18f3vrfzv1kgc7a92pfiwxznq8r";
  };

  cargoHash = "sha256-HVVE9m+BOCa9NeoXvj8OL1gqubI+0dGY3N6vG/GhzeQ=";

  nativeBuildInputs = [ makeWrapper ];

  postInstall = ''
    wrapProgram "$out/bin/nix-simple-deploy" \
      --prefix PATH : "${lib.makeBinPath [ openssh nix-serve ]}"
  '';

  meta = with lib; {
    description = "Deploy software or an entire NixOS system configuration to another NixOS system";
    homepage = "https://github.com/misuzu/nix-simple-deploy";
    platforms = platforms.unix;
    license = with licenses; [ asl20 /* OR */ mit ];
    maintainers = with maintainers; [ misuzu ];
    mainProgram = "nix-simple-deploy";
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -1020,6 +1020,7 @@ mapAliases ({
    "use `nix repl` instead. Also see https://github.com/NixOS/nixpkgs/pull/44903"
  );
  nix-review = throw "'nix-review' has been renamed to/replaced by 'nixpkgs-review'"; # Converted to throw 2023-09-10
  nix-simple-deploy = throw "'nix-simple-deploy' has been removed as it is broken and unmaintained"; # Added 2024-08-17
  nix-template-rpm = throw "'nix-template-rpm' has been removed as it is broken and unmaintained"; # Added 2023-11-20
  nix-universal-prefetch = throw "The nix-universal-prefetch package was dropped since it was unmaintained."; # Added 2024-06-21
  nixFlakes = nixVersions.stable; # Added 2021-05-21
+0 −2
Original line number Diff line number Diff line
@@ -38729,8 +38729,6 @@ with pkgs;
  nix-serve-ng = haskell.lib.compose.justStaticExecutables haskellPackages.nix-serve-ng;
  nix-simple-deploy = callPackage ../tools/package-management/nix-simple-deploy { };
  nix-visualize = python3.pkgs.callPackage ../tools/package-management/nix-visualize { };
  alejandra = callPackage ../tools/nix/alejandra { };