about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-12-26 16:00:57 -0500
committerGitHub <noreply@github.com>2023-12-26 16:00:57 -0500
commit4bc4c383fac1eb8875200438618a9892048502a3 (patch)
tree3006b693e477d75cce564d90ff45bea67cd30d86 /pkgs
parent60065d2df3852af78a29911ebe089b30d17e78e5 (diff)
parentfea79f43d33645ebb180577979a173d2e1208a08 (diff)
downloadnixlib-4bc4c383fac1eb8875200438618a9892048502a3.tar
nixlib-4bc4c383fac1eb8875200438618a9892048502a3.tar.gz
nixlib-4bc4c383fac1eb8875200438618a9892048502a3.tar.bz2
nixlib-4bc4c383fac1eb8875200438618a9892048502a3.tar.lz
nixlib-4bc4c383fac1eb8875200438618a9892048502a3.tar.xz
nixlib-4bc4c383fac1eb8875200438618a9892048502a3.tar.zst
nixlib-4bc4c383fac1eb8875200438618a9892048502a3.zip
Merge pull request #276032 from mrcjkb/tmux-sessionizer
tmux-sessionizer: 0.2.3 -> 0.3.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/misc/tmux-sessionizer/default.nix25
1 files changed, 17 insertions, 8 deletions
diff --git a/pkgs/tools/misc/tmux-sessionizer/default.nix b/pkgs/tools/misc/tmux-sessionizer/default.nix
index e0e8dd9efb4b..a9aa41a9d992 100644
--- a/pkgs/tools/misc/tmux-sessionizer/default.nix
+++ b/pkgs/tools/misc/tmux-sessionizer/default.nix
@@ -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";
   };
 }