nixpkgs-immich/pkgs/tools/system/mq-cli/default.nix

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

25 lines
684 B
Nix
Raw Normal View History

2024-09-17 10:23:40 -06:00
{ fetchFromGitHub, lib, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "mq-cli";
version = "1.0.0";
src = fetchFromGitHub {
owner = "aprilabank";
repo = "mq-cli";
rev = "v${version}";
sha256 = "02z85waj5jc312biv2qhbgplsggxgjmfmyv9v8b1ky0iq1mpxjw7";
};
cargoHash = "sha256-kZox1QhMPFC5l8mJNxh6C3tiNYMgfmLyWLhkdigEs6Y=";
meta = with lib; {
description = "CLI tool to manage POSIX message queues";
homepage = "https://github.com/aprilabank/mq-cli";
license = licenses.mit;
maintainers = with maintainers; [ tazjin ];
platforms = platforms.linux;
mainProgram = "mq";
};
}