proxmove: init at 1.2

This commit is contained in:
Emil "AngryAnt" Johansen 2023-05-02 12:35:45 +02:00
parent 44f30edf56
commit 9839666856
No known key found for this signature in database
GPG Key ID: 0C6DFE2FB234534A
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ 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 ];
};
}

View File

@ -18797,6 +18797,8 @@ with pkgs;
procodile = callPackage ../tools/system/procodile { };
proxmove = callPackage ../tools/admin/proxmove { };
pry = callPackage ../development/tools/pry { };
pup = callPackage ../development/tools/pup { };