mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
vm-curator: init at 1.4.0 (#554657)
This commit is contained in:
@@ -19478,6 +19478,12 @@
|
||||
githubId = 15896005;
|
||||
name = "Vladyslav Burzakovskyy";
|
||||
};
|
||||
mroboff = {
|
||||
email = "mark.roboff@bluecircuit.ai";
|
||||
github = "mroboff";
|
||||
githubId = 81203001;
|
||||
name = "Mark Roboff";
|
||||
};
|
||||
mrsmoer = {
|
||||
email = "mrsmoer@protonmail.com";
|
||||
github = "MrSmoer";
|
||||
|
||||
45
pkgs/by-name/vm/vm-curator/package.nix
Normal file
45
pkgs/by-name/vm/vm-curator/package.nix
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
udev,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "vm-curator";
|
||||
version = "1.4.0";
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mroboff";
|
||||
repo = "vm-curator";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-W0UsPEsUQfAfnQ6rkgBX1L23Fr2iPQ1Z7la9yzKl1ZA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-Z3jT9nz4ezGI36dZla+43NVTS7KP2Yzgk9McukVsLtg=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ udev ];
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Rust TUI for managing desktop QEMU/KVM virtual machines";
|
||||
homepage = "https://github.com/mroboff/vm-curator";
|
||||
changelog = "https://github.com/mroboff/vm-curator/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
rachalaraj
|
||||
mroboff
|
||||
];
|
||||
mainProgram = "vm-curator";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user