Skip to content

Commit

Permalink
Merge pull request #242010 from dit7ya/virter
Browse files Browse the repository at this point in the history
virter: init at 0.25.0
  • Loading branch information
drupol authored Jul 10, 2023
2 parents 58da584 + 8dea8ee commit b3bbad8
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/applications/virtualization/virter/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35530,6 +35530,8 @@ with pkgs;

viw = callPackage ../applications/editors/viw { };

virter = callPackage ../applications/virtualization/virter { };

virt-viewer = callPackage ../applications/virtualization/virt-viewer { };

virt-top = callPackage ../applications/virtualization/virt-top { };
Expand Down

0 comments on commit b3bbad8

Please sign in to comment.