summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorGeorg Haas <hax404foogit@hax404.de>2020-03-29 20:50:14 +0200
committerGeorg Haas <hax404foogit@hax404.de>2020-06-06 17:06:23 +0200
commit6d1ca7db4abbc7c8851df8c89683763396aebb83 (patch)
tree6c56d7d58ded2a714869e1a540f6e954729bfa16 /pkgs/games
parentf0bee9760fa194c2a6c5e7a636d2aa63b99242da (diff)
downloadnixpkgs-6d1ca7db4abbc7c8851df8c89683763396aebb83.tar
nixpkgs-6d1ca7db4abbc7c8851df8c89683763396aebb83.tar.gz
nixpkgs-6d1ca7db4abbc7c8851df8c89683763396aebb83.tar.bz2
nixpkgs-6d1ca7db4abbc7c8851df8c89683763396aebb83.tar.lz
nixpkgs-6d1ca7db4abbc7c8851df8c89683763396aebb83.tar.xz
nixpkgs-6d1ca7db4abbc7c8851df8c89683763396aebb83.tar.zst
nixpkgs-6d1ca7db4abbc7c8851df8c89683763396aebb83.zip
nixos/{modules,tests}/teeworlds: init
add module and test
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/teeworlds/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/games/teeworlds/default.nix b/pkgs/games/teeworlds/default.nix
index 3035c02e262..9ff50d533be 100644
--- a/pkgs/games/teeworlds/default.nix
+++ b/pkgs/games/teeworlds/default.nix
@@ -1,5 +1,6 @@
 { fetchFromGitHub, stdenv, cmake, pkgconfig, python3, alsaLib
 , libX11, libGLU, SDL2, lua5_3, zlib, freetype, wavpack, icoutils
+, nixosTests
 }:
 
 stdenv.mkDerivation rec {
@@ -36,6 +37,8 @@ stdenv.mkDerivation rec {
     install -D $src/other/teeworlds.desktop $out/share/applications/teeworlds.desktop
   '';
 
+  passthru.tests.teeworlds = nixosTests.teeworlds;
+
   meta = {
     description = "Retro multiplayer shooter game";