mmtc: 0.2.13 -> 0.2.14
This commit is contained in:
parent
2fddb8bd5c
commit
351c32411a
@ -1,27 +1,26 @@
|
|||||||
{ fetchFromGitHub, installShellFiles, lib, rustPlatform }:
|
{ lib, rustPlatform, fetchFromGitHub, installShellFiles }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "mmtc";
|
pname = "mmtc";
|
||||||
version = "0.2.13";
|
version = "0.2.14";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "figsoda";
|
owner = "figsoda";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0ag87hgdg6fvk80fgznba0xjlcajks5w5s6y8lvwhz9irn2kq2rz";
|
sha256 = "sha256-g2JHY95vkG/Ep2eqz8guteF8fHUso/JuuVijNGkgykA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "0lkx0zj9xc0rlrq91l4wydzp430hxlrqyq7ii8wq2fcan8ln22lv";
|
cargoSha256 = "sha256-tVjy/O5hfnQFC6to8VMGc39mEXhA5lwUIne6pVvDec0=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
completions=($releaseDir/build/mmtc-*/out/completions)
|
completions=($releaseDir/build/mmtc-*/out/completions)
|
||||||
installShellCompletion ''${completions[0]}/mmtc.{bash,fish}
|
installShellCompletion $completions/mmtc.{bash,fish} --zsh $completions/_mmtc
|
||||||
installShellCompletion --zsh ''${completions[0]}/_mmtc
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
GEN_COMPLETIONS = "1";
|
GEN_COMPLETIONS = 1;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Minimal mpd terminal client that aims to be simple yet highly configurable";
|
description = "Minimal mpd terminal client that aims to be simple yet highly configurable";
|
||||||
|
Loading…
Reference in New Issue
Block a user