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

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

34 lines
824 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";
2023-11-01 06:32:03 +00:00
version = "0.8.0";
2023-04-13 08:57:17 +01:00
src = fetchFromGitHub {
owner = "vinnymeller";
repo = pname;
rev = "v${version}";
2023-11-01 06:32:03 +00:00
sha256 = "sha256-icJQSPt3733H5pIdnpC/Vx+u6LgwokCdbvE3wvDkIlw=";
2023-04-13 08:57:17 +01:00
};
2023-11-01 06:32:03 +00:00
cargoHash = "sha256-DxT3Wsiy4zVlTSJwHqV/McSi/pc9pB0wyWY54fj1zVE=";
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-04-13 08:57:17 +01:00
license = licenses.gpl2Only;
maintainers = with maintainers; [ vinnymeller ];
};
}