biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / virtualization / virter / default.nix
blob18fd9ad2f35a27ff46c78a5e4776ecdfd6b0fc0a
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "virter";
8   version = "0.27.0";
10   src = fetchFromGitHub {
11     owner = "LINBIT";
12     repo = "virter";
13     rev = "v${version}";
14     hash = "sha256-sfO704nZnsSpSokJUwc3ucPBlKIi3cbZUG1dwbKDnFw=";
15   };
17   vendorHash = "sha256-NmA1rLWSX03zurGZWvXv61TSB9hecEfi7Hx9yi7QL/c=";
19   ldflags = [
20     "-s"
21     "-w"
22     "-X github.com/LINBIT/virter/cmd.version=${version}"
23     "-X github.com/LINBIT/virter/cmd.builddate=builtByNix"
24     "-X github.com/LINBIT/virter/cmd.githash=builtByNix"
25   ];
27   # requires network access
28   doCheck = false;
30   meta = {
31     description = "Command line tool for simple creation and cloning of virtual machines based on libvirt";
32     homepage = "https://github.com/LINBIT/virter";
33     license = lib.licenses.asl20;
34     maintainers = with lib.maintainers; [ dit7ya ];
35     mainProgram = "virter";
36   };