Skip to content

Commit

Permalink
virtnbdackup: init at 2.18
Browse files Browse the repository at this point in the history
  • Loading branch information
genga898 committed Dec 27, 2024
1 parent 3c14d26 commit c827a95
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions pkgs/by-name/vi/virtnbdbackup/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
lib,
fetchFromGitHub,
python3Packages,
versionCheckHook,
}:

python3Packages.buildPythonApplication rec {
pname = "virtnbdbackup";
version = "2.18";

src = fetchFromGitHub {
owner = "abbbi";
repo = "virtnbdbackup";
tag = "v${version}";
hash = "sha256-0ZM3Xu3CbAuN60d0L32odNu9DfnOEDx3X03mFpDFZ6Y=";
};

build-system = with python3Packages; [
setuptools

];

dependencies = with python3Packages; [
libvirt
tqdm
libnbd
lz4
lxml
paramiko
typing-extensions
colorlog
];

nativeCheckInputs = [
versionCheckHook
];

versionCheckProgramArg = [ "-V" ];

meta = {
description = "Backup utility for Libvirt/qemu/kvm";
homepage = "https://github.com/abbbi/virtnbdbackup";
changelog = "https://github.com/abbbi/virtnbdbackup/releases/tag/v${version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ genga898 ];
mainProgram = "virtnbdbackup";
};
}

0 comments on commit c827a95

Please sign in to comment.