Commit c4dbdcbc authored by Alyssa Ross's avatar Alyssa Ross
Browse files

swayws: update source hash

Upstream sadly decided to fix the incorrect Cargo.lock we were
applying a patch for by rewriting the tag. :(

Diff of sources before and after:

diff --git 1/nix/store/yh0jcja9psq44dlis8jw93s62bfah5ys-source/Cargo.lock 2/nix/store/0l9wq5fxgxhaq0pp7p0yd38815x8rbqy>
index f01f824..e00d079 100644
--- 1/nix/store/yh0jcja9psq44dlis8jw93s62bfah5ys-source/Cargo.lock
+++ 2/nix/store/0l9wq5fxgxhaq0pp7p0yd38815x8rbqy-source/Cargo.lock
@@ -328,7 +328,7 @@ dependencies = [

 [[package]]
 name = "swayws"
-version = "1.1.1"
+version = "1.2.0"
 dependencies = [
  "clap",
  "env_logger",
parent 9ac22a2b
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -11,15 +11,14 @@ rustPlatform.buildRustPackage rec {
  src = fetchFromGitLab {
    owner = "w0lff";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-f0kXy7/31imgHHqKPmW9K+QrLqroaPaXwlJkzOoezRU=";
    # Specifying commit hash rather than tag because upstream has
    # rewritten a tag before:
    # https://gitlab.com/w0lff/swayws/-/issues/1#note_1342349382
    rev = "98f0d5c1896b10e890e1727654f1cf3b34a2371e";
    hash = "sha256-zeM6/x2vjZ2IL+nZz1WBf5yY4C6ovmxyvgVLD54BKVc=";
  };

  cargoHash = "sha256-VYT6wV59fraAoJgR/i6GlO8s7LUoehGtxPAggEL1eLo=";
  # Required patch until upstream fixes https://gitlab.com/w0lff/swayws/-/issues/1
  cargoPatches = [
    ./ws-update-Cargo-lock.patch
  ];

  # swayws does not have any tests
  doCheck = false;
+0 −13
Original line number Diff line number Diff line
diff --git a/Cargo.lock b/Cargo.lock
index f01f824..e00d079 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -328,7 +328,7 @@ dependencies = [

 [[package]]
 name = "swayws"
-version = "1.1.1"
+version = "1.2.0"
 dependencies = [
  "clap",
  "env_logger",