1 { lib, rustPlatform, fetchFromGitHub, installShellFiles }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-gs6uytX4rm2JrJ4UbtHJDg+b+Z1ZjcsuUR0b13jQIy4=";
14 cargoSha256 = "sha256-7zV/AsSZHk99ROC1301nkwJ22dvh4afeCI//G1zWHu8=";
16 nativeBuildInputs = [ installShellFiles ];
19 installManPage artifacts/mmtc.1
20 installShellCompletion artifacts/mmtc.{bash,fish} --zsh artifacts/_mmtc
23 GEN_ARTIFACTS = "artifacts";
26 description = "Minimal mpd terminal client that aims to be simple yet highly configurable";
27 homepage = "https://github.com/figsoda/mmtc";
28 changelog = "https://github.com/figsoda/mmtc/blob/v${version}/CHANGELOG.md";
29 license = licenses.mpl20;
30 maintainers = with maintainers; [ figsoda ];