nvidia-mig-parted: init at 0.12.1 (#424331)

authored by Connor Baker and committed by GitHub 1423031b e99960eb

+36
+36
pkgs/by-name/nv/nvidia-mig-parted/package.nix
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + }: 6 + 7 + buildGoModule (finalAttrs: { 8 + pname = "nvidia-mig-parted"; 9 + version = "0.12.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "NVIDIA"; 13 + repo = "mig-parted"; 14 + tag = "v${finalAttrs.version}"; 15 + hash = "sha256-mNzwD8DaWJ0L1y2q/3UhKf0zjKRp3+XwhtFF+Stl/A0="; 16 + }; 17 + 18 + vendorHash = null; 19 + 20 + excludedPackages = [ 21 + "cmd/nvidia-mig-manager" 22 + "deployments/devel" 23 + ]; 24 + 25 + # Avoid undefined symbol: nvmlGpuInstanceGetComputeInstanceProfileInfoV 26 + ldflags = [ "-extldflags=-Wl,-z,lazy" ]; 27 + 28 + meta = { 29 + description = "MIG Partition Editor for NVIDIA GPUs"; 30 + homepage = "https://github.com/nvidia/mig-parted"; 31 + changelog = "https://github.com/NVIDIA/mig-parted/releases/tag/${finalAttrs.src.tag}"; 32 + license = lib.licenses.asl20; 33 + maintainers = with lib.maintainers; [ jherland ]; 34 + mainProgram = "nvidia-mig-parted"; 35 + }; 36 + })