Unverified Commit 25bda5ea authored by Ramses's avatar Ramses Committed by GitHub
Browse files

alvr: 20.11.1 -> 20.12.1 (#374869)

parents 1745c298 7ba9030c
Loading
Loading
Loading
Loading

pkgs/by-name/al/alvr/Cargo.lock

deleted100644 → 0
+0 −7285

File deleted.

Preview size limit exceeded, changes collapsed.

+5 −10
Original line number Diff line number Diff line
@@ -40,23 +40,18 @@

rustPlatform.buildRustPackage rec {
  pname = "alvr";
  version = "20.11.1";
  version = "20.12.1";

  src = fetchFromGitHub {
    owner = "alvr-org";
    repo = "ALVR";
    tag = "v${version}";
    fetchSubmodules = true; #TODO devendor openvr
    hash = "sha256-d4KldPii8W1HcfnMSD8Fn+IGO/a3r8747APPjRCnbe8=";
    hash = "sha256-T7KyGZwnJ9t4Bh8KFy190IV3igWCG+yn+OW9a6mgmYI=";
  };

  cargoLock = {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "openxr-0.18.0" = "sha256-v8sY9PROrqzkpuq3laIn2hPaX+DY7Fbca6i/Xiacd1g=";
      "settings-schema-0.2.0" = "sha256-luEdAKDTq76dMeo5kA+QDTHpRMFUg3n0qvyQ7DkId0k=";
    };
  };
  useFetchCargoVendor = true;
  cargoHash = "sha256-DE88nMC6qpbPJsBpdyITv6igMgwy4g40VCgFQQuRRTA=";

  patches = [
    (substituteAll {
@@ -130,7 +125,7 @@ rustPlatform.buildRustPackage rec {

  postInstall = ''
    install -Dm755 ${src}/alvr/xtask/resources/alvr.desktop $out/share/applications/alvr.desktop
    install -Dm644 ${src}/resources/alvr.png $out/share/icons/hicolor/256x256/apps/alvr.png
    install -Dm644 ${src}/resources/ALVR-Icon.svg $out/share/icons/hicolor/scalable/apps/alvr.svg

    # Install SteamVR driver
    mkdir -p $out/{libexec,lib/alvr,share}