Unverified Commit 3b66318c authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #229453 from AngryAnt/master

proxmove: init at 1.2
parents 0b0c5fdf 98396668
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{ lib
, python3
, fetchFromGitHub
}:

python3.pkgs.buildPythonApplication rec {
  pname = "proxmove";
  version = "1.2";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "ossobv";
    repo = "proxmove";
    rev = "v${version}";
    hash = "sha256-8xzsmQsogoMrdpf8+mVZRWPGQt9BO0dBT0aKt7ygUe4=";
  };

  propagatedBuildInputs = with python3.pkgs; [
    proxmoxer
  ];

  preBuild = ''
    rm -R assets
    rm -R artwork
  '';

  checkPhase = ''
    runHook preCheck

    $out/bin/${pname} --version

    runHook postCheck
  '';

  meta = with lib; {
    description = "The Proxmox VM migrator: migrates VMs between different Proxmox VE clusters";
    homepage = "https://github.com/ossobv/proxmove";
    license = licenses.gpl3Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ AngryAnt ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -18824,6 +18824,8 @@ with pkgs;
  procodile = callPackage ../tools/system/procodile { };
  proxmove = callPackage ../tools/admin/proxmove { };
  pry = callPackage ../development/tools/pry { };
  pup = callPackage ../development/tools/pup { };