fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 rustPlatform,
3 lib,
4 fetchFromGitHub,
5 pkg-config,
6 openssl,
7}:
8
9rustPlatform.buildRustPackage rec {
10 pname = "rabbitmqadmin-ng";
11 version = "2.7.1";
12
13 src = fetchFromGitHub {
14 owner = "rabbitmq";
15 repo = "rabbitmqadmin-ng";
16 tag = "v${version}";
17 hash = "sha256-ifvSDtj+A9wR6tvM82bzP9I4ZpOYrIzqkGtL7jFfPvQ=";
18 };
19
20 cargoHash = "sha256-7r44ouNmqycF9ZBccR0iN6qps1oc7sjQCgK0G19zzF0=";
21
22 buildInputs = [ openssl ];
23 nativeBuildInputs = [ pkg-config ];
24
25 strictDeps = true;
26
27 # This requires a running rabbitmq instance to communicate with that needs
28 # to be set up by hand. It should be possible to run tests in the future
29 # if we ever add a `rabbitmqTestHook`, similar to the `postgresqlTestHook`.
30 doCheck = false;
31
32 meta = {
33 description = "Command line tool for RabbitMQ that uses the HTTP API";
34 teams = [ lib.teams.flyingcircus ];
35 homepage = "https://www.rabbitmq.com/docs/management-cli";
36 license = with lib.licenses; [
37 mit
38 asl20
39 ];
40 mainProgram = "rabbitmqadmin";
41 };
42}