mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
commit
b3bbad8917
36
pkgs/applications/virtualization/virter/default.nix
Normal file
36
pkgs/applications/virtualization/virter/default.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "virter";
|
||||||
|
version = "0.25.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "LINBIT";
|
||||||
|
repo = "virter";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-NIZBaPYFFH3MG2M7rF39TW8sLVR44SA37ZU3gOPwAFU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-cVOxRrsDdtlDSJ3WRDNk8nqt7ztz4GSRIf6FDDBxvPc=";
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
"-X github.com/LINBIT/virter/cmd.version=${version}"
|
||||||
|
"-X github.com/LINBIT/virter/cmd.builddate=builtByNix"
|
||||||
|
"-X github.com/LINBIT/virter/cmd.githash=builtByNix"
|
||||||
|
];
|
||||||
|
|
||||||
|
# requires network access
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A command line tool for simple creation and cloning of virtual machines based on libvirt";
|
||||||
|
homepage = "https://github.com/LINBIT/virter";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ dit7ya ];
|
||||||
|
};
|
||||||
|
}
|
@ -35530,6 +35530,8 @@ with pkgs;
|
|||||||
|
|
||||||
viw = callPackage ../applications/editors/viw { };
|
viw = callPackage ../applications/editors/viw { };
|
||||||
|
|
||||||
|
virter = callPackage ../applications/virtualization/virter { };
|
||||||
|
|
||||||
virt-viewer = callPackage ../applications/virtualization/virt-viewer { };
|
virt-viewer = callPackage ../applications/virtualization/virt-viewer { };
|
||||||
|
|
||||||
virt-top = callPackage ../applications/virtualization/virt-top { };
|
virt-top = callPackage ../applications/virtualization/virt-top { };
|
||||||
|
Loading…
Reference in New Issue
Block a user