2023-05-24 13:37:59 +00:00
|
|
|
{ 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; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Proxmox VM migrator: migrates VMs between different Proxmox VE clusters";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "proxmove";
|
2023-05-24 13:37:59 +00:00
|
|
|
homepage = "https://github.com/ossobv/proxmove";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ AngryAnt ];
|
|
|
|
};
|
|
|
|
}
|