anchor.diff:    meta = with lib; {
       homepage = "https://github.com/dmacvicar/terraform-provider-libvirt";
       description = "Terraform provider for libvirt";
  -    platforms = platforms.linux;
       license = licenses.asl20;
       maintainers = with maintainers; [ mic92 ];
     };
  
positive.code: # https://github.com/dmacvicar/terraform-provider-libvirt/tree/main/examples
  
  let
    sha256 = "sha256-8GGPd0+qdw7s4cr0RgLoS0Cu4C+RAuuboZzTyYN/kq8=";
    vendorSha256 = "sha256-fpO2sGM+VUKLmdfJ9CQfTFnCfxVTK2m9Sirj9oerD/I=";
    version = "0.6.11";
  in buildGoModule {
    inherit version;
    inherit vendorSha256;
  
negative.code:   # Terraform allow checking the provider versions, but this breaks
    # if the versions are not provided via file paths.
    postBuild = "mv $GOPATH/bin/terraform-provider-libvirt{,_v${version}}";
  
    ldflags = [ "-X main.version=${version}" ];
    passthru.provider-source-address = "registry.terraform.io/dmacvicar/libvirt";
  
  