twm: 0.9.1 -> 0.10.2
This commit is contained in:
parent
66ded85976
commit
6031652ebf
@ -6,24 +6,35 @@
|
||||
, pkg-config
|
||||
, Security
|
||||
, nix-update-script
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "twm";
|
||||
version = "0.9.1";
|
||||
version = "0.10.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vinnymeller";
|
||||
repo = "twm";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-1hRGcvUGHO5ENgI3tdT46736ODN8QZ6vg+Y1y2XeuAA=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-qOOEeaxae7nYbvNzl3BEZkdjO69lgtGrrLS5Q7akN9U=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-iJB+7+1tFT/tKvXlxaaW3QJHjWNZmCVIEXwtrSei/Do=";
|
||||
cargoHash = "sha256-gJ5go9V8c97pQZICUD1ksLJhOyJXyVXAWssH3fhrRVQ=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [ pkg-config installShellFiles ];
|
||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd twm \
|
||||
--bash <($out/bin/twm --print-bash-completion) \
|
||||
--zsh <($out/bin/twm --print-zsh-completion) \
|
||||
--fish <($out/bin/twm --print-fish-completion)
|
||||
|
||||
$out/bin/twm --print-man > twm.1
|
||||
installManPage twm.1
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user