Commit f4ab4900 authored by Jeremy Kolb's avatar Jeremy Kolb
Browse files

open-vm-tools: Move from rec to finalAttrs

parent f81112bb
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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 ];
  };
}
})