Unverified Commit 2938c54e authored by Sapphire's avatar Sapphire
Browse files

xrizer: 0.4 -> 0.5

parent 3c57230c
Loading
Loading
Loading
Loading
+3 −12
Original line number Diff line number Diff line
@@ -21,25 +21,16 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "xrizer";
  version = "0.4";
  version = "0.5";

  src = fetchFromGitHub {
    owner = "Supreeeme";
    repo = "xrizer";
    tag = "v${finalAttrs.version}";
    hash = "sha256-IRhLWlGHywp0kZe5aGmMHAF1zZwva3sGg68eG1E2K9A=";
    hash = "sha256-y/K+eXECUi9wGol0IUuIUI9hqhEN8GHaOO5i1xMFNQo=";
  };

  patches = [
    # https://github.com/Supreeeme/xrizer/pull/262
    (fetchpatch2 {
      name = "xrizer-fix-aarch64.patch";
      url = "https://github.com/Supreeeme/xrizer/commit/70ea6f616cd7608462cdf2f5bf76a85acf23fe33.patch?full_index=1";
      hash = "sha256-Bwu/GjsaoS1VqpXmijBuZcJFUf6kRYWYWpGxm40AWyc=";
    })
  ];

  cargoHash = "sha256-orfK5pwWv91hA7Ra3Kk+isFTR+qMHSZ0EYZTVbf0fO0=";
  cargoHash = "sha256-btGPIujawY5NPmx7hGBxW5ZYi2RvboyQpfw6fA3c3jE=";

  nativeBuildInputs = [
    pkg-config