lol
at 24.05-pre 42 lines 836 B view raw
1{ lib 2, python3 3, fetchFromGitHub 4}: 5 6python3.pkgs.buildPythonApplication rec { 7 pname = "proxmove"; 8 version = "1.2"; 9 format = "setuptools"; 10 11 src = fetchFromGitHub { 12 owner = "ossobv"; 13 repo = "proxmove"; 14 rev = "v${version}"; 15 hash = "sha256-8xzsmQsogoMrdpf8+mVZRWPGQt9BO0dBT0aKt7ygUe4="; 16 }; 17 18 propagatedBuildInputs = with python3.pkgs; [ 19 proxmoxer 20 ]; 21 22 preBuild = '' 23 rm -R assets 24 rm -R artwork 25 ''; 26 27 checkPhase = '' 28 runHook preCheck 29 30 $out/bin/${pname} --version 31 32 runHook postCheck 33 ''; 34 35 meta = with lib; { 36 description = "The Proxmox VM migrator: migrates VMs between different Proxmox VE clusters"; 37 homepage = "https://github.com/ossobv/proxmove"; 38 license = licenses.gpl3Plus; 39 platforms = platforms.linux; 40 maintainers = with maintainers; [ AngryAnt ]; 41 }; 42}