Merge pull request #225980 from vinnymeller/twm

twm: init at 0.1.1
This commit is contained in:
Jonas Heinrich 2023-04-13 15:55:09 +02:00 committed by GitHub
commit 247b5e22f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, fetchFromGitHub
, stdenv
, rustPlatform
, openssl
, pkg-config
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "twm";
version = "0.1.1";
src = fetchFromGitHub {
owner = "vinnymeller";
repo = pname;
rev = "v${version}";
sha256 = "sha256-YURzNHbmGLEqNEcc4FImIqn/KcRwGdxYXM5QzM3dxbo=";
};
cargoHash = "sha256-sc2/eQZjY1x5KIzQ+yr8NgAMKJ6iHWwCy6fRSBp7Fw4=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
meta = with lib; {
description = "A customizable workspace manager for tmux";
homepage = "https://github.com/vinnymeller/twm";
license = licenses.gpl2Only;
maintainers = with maintainers; [ vinnymeller ];
};
}

View file

@ -13025,6 +13025,10 @@ with pkgs;
ttylog = callPackage ../tools/misc/ttylog { };
twm = callPackage ../tools/misc/twm {
inherit (darwin.apple_sdk.frameworks) Security;
};
txtpbfmt = callPackage ../development/tools/txtpbfmt { };
ipbt = callPackage ../tools/misc/ipbt { };