Merge pull request #276032 from mrcjkb/tmux-sessionizer

tmux-sessionizer: 0.2.3 -> 0.3.0
This commit is contained in:
Mario Rodas 2023-12-26 16:00:57 -05:00 committed by GitHub
commit 4bc4c383fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,20 +5,29 @@
, openssl
, pkg-config
, Security
}:
, testers
, tmux-sessionizer
}: let
rustPlatform.buildRustPackage rec {
pname = "tmux-sessionizer";
version = "0.2.3";
name = "tmux-sessionizer";
version = "0.3.0";
in rustPlatform.buildRustPackage {
pname = name;
inherit version;
src = fetchFromGitHub {
owner = "jrmoulton";
repo = pname;
repo = name;
rev = "v${version}";
sha256 = "sha256-TTt4pEWlt1cL9SBM6C5dX88MqhBqr4Qt8INnWny8WL4=";
hash = "sha256-ZascTDIV9MqPPtK0CHSXUW5gIk/zjRhUB0xATcu7ICM=";
};
cargoHash = "sha256-Jq4wpSKo5kq6xSr/qRPlMy9QREUHQ33oQgXrvKi25lM=";
cargoHash = "sha256-lZi72OJ+AnnLxf/zxwAERfy1oW8dE8bGF8hFwwrUXqE=";
passthru.tests.version = testers.testVersion {
package = tmux-sessionizer;
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
@ -27,7 +36,7 @@ rustPlatform.buildRustPackage rec {
description = "The fastest way to manage projects as tmux sessions";
homepage = "https://github.com/jrmoulton/tmux-sessionizer";
license = licenses.mit;
maintainers = with maintainers; [ vinnymeller ];
maintainers = with maintainers; [ vinnymeller mrcjkb ];
mainProgram = "tms";
};
}