nixpkgs/pkgs/tools/misc/twm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
844 B
Nix
Raw Normal View History

2023-04-13 08:57:17 +01:00
{ lib
, fetchFromGitHub
, stdenv
, rustPlatform
, openssl
, pkg-config
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "twm";
2024-01-31 05:43:46 +00:00
version = "0.9.0";
2023-04-13 08:57:17 +01:00
src = fetchFromGitHub {
owner = "vinnymeller";
repo = pname;
rev = "v${version}";
2024-01-31 05:43:46 +00:00
sha256 = "sha256-gvo5+lZNe5QOHNI4nrPbCR65D+VFf/anmLVdu5RXJiY=";
2023-04-13 08:57:17 +01:00
};
2024-01-31 05:43:46 +00:00
cargoHash = "sha256-5+1B+SbrIrswGjtNLlwbtLEhARMZNs75DFK8wQI2O0M=";
2023-04-13 08:57:17 +01:00
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";
2023-04-18 07:00:49 +01:00
changelog = "https://github.com/vinnymeller/twm/releases/tag/v${version}";
2023-12-30 07:19:21 +00:00
license = licenses.mit;
2023-04-13 08:57:17 +01:00
maintainers = with maintainers; [ vinnymeller ];
2023-11-27 01:17:53 +00:00
mainProgram = "twm";
2023-04-13 08:57:17 +01:00
};
}