Merge pull request #112397 from xrelkd/update/clipcat
clipcat: 0.4.19 -> 0.5.0
This commit is contained in:
commit
a47c8f44b7
|
@ -3,16 +3,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "clipcat";
|
pname = "clipcat";
|
||||||
version = "0.4.19";
|
version = "0.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "xrelkd";
|
owner = "xrelkd";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1lhnm521qqy3aw2iyk1dv4yc5ms0c5x5iipx96bz6v6y0cnmf4kw";
|
sha256 = "0rxl3ksjinw07q3p2vjqg80k3c6wx2q7pzpf2344zyfb4gkqzx1c";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "04iflyvz8g53z658rkxafiyi2m9kzxwl3p1xgkjq7vacmz5jk15c";
|
cargoSha256 = "1ffgvhkdj8wkhlgi0cj0njdm9ycxq2qda4b5qn8bmaygzr2zkwpd";
|
||||||
|
|
||||||
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
||||||
|
|
||||||
|
@ -38,26 +38,15 @@ rustPlatform.buildRustPackage rec {
|
||||||
cargoBuildFlags = [ "--features=all" ];
|
cargoBuildFlags = [ "--features=all" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --bash --name clipcatd completions/bash-completion/completions/clipcatd
|
installShellCompletion --bash completions/bash-completion/completions/*
|
||||||
installShellCompletion --fish --name clipcatd.fish completions/fish/completions/clipcatd.fish
|
installShellCompletion --fish completions/fish/completions/*
|
||||||
installShellCompletion --zsh --name _clipcatd completions/zsh/site-functions/_clipcatd
|
installShellCompletion --zsh completions/zsh/site-functions/*
|
||||||
|
|
||||||
installShellCompletion --bash --name clipcatctl completions/bash-completion/completions/clipcatctl
|
|
||||||
installShellCompletion --fish --name clipcatctl.fish completions/fish/completions/clipcatctl.fish
|
|
||||||
installShellCompletion --zsh --name _clipcatctl completions/zsh/site-functions/_clipcatctl
|
|
||||||
|
|
||||||
installShellCompletion --bash --name clipcat-menu completions/bash-completion/completions/clipcat-menu
|
|
||||||
installShellCompletion --fish --name clipcat-menu.fish completions/fish/completions/clipcat-menu.fish
|
|
||||||
installShellCompletion --zsh --name _clipcat-menu completions/zsh/site-functions/_clipcat-menu
|
|
||||||
|
|
||||||
installShellCompletion --bash --name clipcat-notify completions/bash-completion/completions/clipcat-notify
|
|
||||||
installShellCompletion --fish --name clipcat-notify.fish completions/fish/completions/clipcat-notify.fish
|
|
||||||
installShellCompletion --zsh --name _clipcat-notify completions/zsh/site-functions/_clipcat-notify
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Clipboard Manager written in Rust Programming Language";
|
description = "Clipboard Manager written in Rust Programming Language";
|
||||||
license = licenses.gpl3;
|
homepage = "https://github.com/xrelkd/clipcat";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ xrelkd ];
|
maintainers = with maintainers; [ xrelkd ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue