tmux-sessionizer: 0.3.2 -> 0.4.0-unstable-2024-02-06

This commit is contained in:
Tobias Langendorf 2024-02-07 19:01:20 +01:00
parent cd5c10f696
commit f4d5a7ba63

View file

@ -10,7 +10,8 @@
}: let }: let
name = "tmux-sessionizer"; name = "tmux-sessionizer";
version = "0.3.2"; # v0.4.1 is not released yet, but v0.4.0 has version discrepancy between Cargo.toml and Cargo.lock and does not build
version = "0.4.0-unstable-2024-02-06";
in rustPlatform.buildRustPackage { in rustPlatform.buildRustPackage {
pname = name; pname = name;
@ -19,16 +20,20 @@ in rustPlatform.buildRustPackage {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jrmoulton"; owner = "jrmoulton";
repo = name; repo = name;
rev = "v${version}"; rev = "79ab43a4087aa7e4e865cab6a181dfd24c6e7a90";
hash = "sha256-8RQ67v2Cw681zikxYnq0Pb2ybh26w8mUbHKAC4TjYWA="; hash = "sha256-gzbCeNZML2ygIy/H3uT9apahqI+4hmrTwgXvcZq4Xog=";
}; };
cargoHash = "sha256-ZOWoUBna8U0A/sYwXMf4Z7Vi+KqM7VinWhmtO8Q0HtU="; cargoHash = "sha256-Zvr2OH2pKtX60EApUSWhBV4cACMLl750UOiS3nN3J3Q=";
passthru.tests.version = testers.testVersion { passthru.tests.version = testers.testVersion {
package = tmux-sessionizer; package = tmux-sessionizer;
version = "0.4.1";
}; };
# Needed to get openssl-sys to use pkg-config.
OPENSSL_NO_VENDOR = 1;
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];