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",
This commit is contained in:
Alyssa Ross
2025-01-30 15:42:36 +01:00
parent 9ac22a2bb0
commit c4dbdcbcaa
2 changed files with 5 additions and 19 deletions
+5 -6
View File
@@ -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;
@@ -1,13 +0,0 @@
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",