From 2d7f45bfb7b55d3d3b65b47399208148de086937 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sun, 16 Nov 2025 23:40:28 +0800 Subject: [PATCH] psst: 0-unstable-2025-04-20 -> 0-unstable-2025-11-16 --- pkgs/by-name/ps/psst/make-build-reproducible.patch | 8 ++++---- pkgs/by-name/ps/psst/package.nix | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/ps/psst/make-build-reproducible.patch b/pkgs/by-name/ps/psst/make-build-reproducible.patch index 51c13958a58c..17a7e2f1095c 100644 --- a/pkgs/by-name/ps/psst/make-build-reproducible.patch +++ b/pkgs/by-name/ps/psst/make-build-reproducible.patch @@ -10,11 +10,11 @@ index 4e899af..0000000 - -fn main() { - let outdir = env::var("OUT_DIR").unwrap(); -- let outfile = format!("{}/build-time.txt", outdir); +- let outfile = format!("{outdir}/build-time.txt"); - - let mut fh = fs::File::create(outfile).unwrap(); - let now = OffsetDateTime::now_local().unwrap_or_else(|_| OffsetDateTime::now_utc()); -- write!(fh, r#""{}""#, now).ok(); +- write!(fh, r#""{now}""#).ok(); - - let git_config = File::from_git_dir("../.git/".into()).expect("Git Config not found!"); - // Get Git's 'Origin' URL @@ -43,9 +43,9 @@ index 4e899af..0000000 - let trimmed_url = remote_url.trim_end_matches(".git"); - remote_url.clone_from(&String::from(trimmed_url)); - -- let outfile = format!("{}/remote-url.txt", outdir); +- let outfile = format!("{outdir}/remote-url.txt"); - let mut file = fs::File::create(outfile).unwrap(); -- write!(file, r#""{}""#, remote_url).ok(); +- write!(file, r#""{remote_url}""#).ok(); -} diff --git a/psst-core/src/lib.rs b/psst-core/src/lib.rs index 2faa317..b890a2d 100644 diff --git a/pkgs/by-name/ps/psst/package.nix b/pkgs/by-name/ps/psst/package.nix index 836c58053e58..cb051dd9c29a 100644 --- a/pkgs/by-name/ps/psst/package.nix +++ b/pkgs/by-name/ps/psst/package.nix @@ -33,16 +33,16 @@ let in rustPlatform.buildRustPackage { pname = "psst"; - version = "0-unstable-2025-04-20"; + version = "0-unstable-2025-11-16"; src = fetchFromGitHub { owner = "jpochyla"; repo = "psst"; - rev = "86169f8b05c1b3502261cfe1fae9af2487b8f1bb"; - hash = "sha256-BkGoaYflCTiElTj47r2j/ngUrZ9wIe0q4pl+zhoattA="; + rev = "cae05c43f4aee2c5936375225c4586ea35594835"; + hash = "sha256-iCm5lvZq64Dmbe/stkZO0XvX0mWfmzFgl3MeCTI6/hM="; }; - cargoHash = "sha256-gt2EDrZ+XXig5JUsmQksSLaFd7UArnttOT4UiTVASXw="; + cargoHash = "sha256-Q4xMsX6lJK3Or+oKuPOTCec2pe+oBWC33peCE1x7QRg="; # specify the subdirectory of the binary crate to build from the workspace buildAndTestSubdir = "psst-gui";