Other config; added new tpm package for tmux

This commit is contained in:
Random936
2024-05-21 21:43:28 -07:00
parent e6e927ae0d
commit c82e83bf59
8 changed files with 64 additions and 28 deletions

24
packages/tpm/default.nix Normal file
View File

@@ -0,0 +1,24 @@
{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec {
pname = "tpm";
version = "3.1.0";
src = fetchFromGitHub {
owner = "tmux-plugins";
repo = "tpm";
rev = "v${version}";
hash = "sha256-CeI9Wq6tHqV68woE11lIY4cLoNY8XWyXyMHTDmFKJKI=";
};
doCheck = true;
installPhase = ''
cp -rv $src/ $out
'';
meta = with lib; {
description = "A tmux package manager. Installs and loads tmux plugins.";
homepage = "https://github.com/tmux-plugins/tpm";
license = licenses.mit;
platforms = platforms.all;
};
}