diff options
author | Daniel McCarney <daniel@binaryparadox.net> | 2022-10-04 20:32:06 -0400 |
---|---|---|
committer | Daniel McCarney <daniel@binaryparadox.net> | 2022-10-04 20:33:55 -0400 |
commit | aa88e214ef4ca7aaa7c8ee78402be7b1e572d4d3 (patch) | |
tree | 0ddef6b84fca9d64278abef34356b2513e47b6e3 /pkgs/games/blightmud | |
parent | 450e7db0661c904c3f0d5a7002c7e82e4ca34170 (diff) |
blightmud: apply nixpkgs-format
For consistency, this commit runs the Blightmud derivation through `nixpkgs-format`.
Diffstat (limited to 'pkgs/games/blightmud')
-rw-r--r-- | pkgs/games/blightmud/default.nix | 49 |
1 files changed, 30 insertions, 19 deletions
diff --git a/pkgs/games/blightmud/default.nix b/pkgs/games/blightmud/default.nix index 57df987b957fd..b1c92f32b299d 100644 --- a/pkgs/games/blightmud/default.nix +++ b/pkgs/games/blightmud/default.nix @@ -1,5 +1,14 @@ -{ stdenv, lib, fetchFromGitHub, rustPlatform, pkg-config, alsa-lib, openssl -, withTTS ? false, llvmPackages, speechd }: +{ stdenv +, lib +, fetchFromGitHub +, rustPlatform +, pkg-config +, alsa-lib +, openssl +, withTTS ? false +, llvmPackages +, speechd +}: rustPlatform.buildRustPackage rec { pname = "blightmud"; @@ -20,23 +29,25 @@ rustPlatform.buildRustPackage rec { buildInputs = [ alsa-lib openssl ] ++ lib.optional withTTS [ speechd ]; - checkFlags = let - # Most of Blightmud's unit tests pass without trouble in the isolated - # Nixpkgs build env. The following tests need to be skipped. - skipList = [ - "test_connect" - "test_gmcp_negotiation" - "test_ttype_negotiation" - "test_reconnect" - "test_is_connected" - "test_mud" - "test_server" - "test_lua_script" - "timer_test" - "validate_assertion_fail" - ]; - skipFlag = test: "--skip " + test; - in builtins.concatStringsSep " " (builtins.map skipFlag skipList); + checkFlags = + let + # Most of Blightmud's unit tests pass without trouble in the isolated + # Nixpkgs build env. The following tests need to be skipped. + skipList = [ + "test_connect" + "test_gmcp_negotiation" + "test_ttype_negotiation" + "test_reconnect" + "test_is_connected" + "test_mud" + "test_server" + "test_lua_script" + "timer_test" + "validate_assertion_fail" + ]; + skipFlag = test: "--skip " + test; + in + builtins.concatStringsSep " " (builtins.map skipFlag skipList); meta = with lib; { description = "A terminal MUD client written in Rust"; |