open-vm-tools: Move from rec to finalAttrs

This commit is contained in:
Jeremy Kolb
2023-09-14 16:25:36 -04:00
parent f81112bbb0
commit f4ab490058

View File

@@ -39,18 +39,18 @@
, withX ? true
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "open-vm-tools";
version = "12.3.0";
src = fetchFromGitHub {
owner = "vmware";
repo = "open-vm-tools";
rev = "stable-${version}";
rev = "stable-${finalAttrs.version}";
hash = "sha256-YVpWomLED5sBKXKdJtuDjb7/aKB2flVIm2ED3xSsccE=";
};
sourceRoot = "${src.name}/open-vm-tools";
sourceRoot = "${finalAttrs.src.name}/open-vm-tools";
outputs = [ "out" "dev" ];
@@ -137,7 +137,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://github.com/vmware/open-vm-tools";
changelog = "https://github.com/vmware/open-vm-tools/releases/tag/stable-${version}";
changelog = "https://github.com/vmware/open-vm-tools/releases/tag/stable-${finalAttrs.version}";
description = "Set of tools for VMWare guests to improve host-guest interaction";
longDescription = ''
A set of services and modules that enable several features in VMware products for
@@ -147,4 +147,4 @@ stdenv.mkDerivation rec {
platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
maintainers = with maintainers; [ joamaki kjeremy ];
};
}
})