nixpkgs/pkgs/tools/system/mq-cli/default.nix
2023-11-27 02:17:53 +01:00

24 lines
687 B
Nix

{ 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";
};
cargoSha256 = "19mk0hl7cr5qb3r64zi0hcsn4yqbg8c3g2f9jywm0g2c13ak36li";
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";
};
}