summary refs log tree commit diff
path: root/pkgs/applications/audio/ft2-clone
diff options
context:
space:
mode:
authorFrancesco Gazzetta <fgaz@fgaz.me>2020-07-29 19:40:38 +0200
committerFrancesco Gazzetta <fgaz@fgaz.me>2020-09-07 11:21:26 +0200
commite158d1961823657cc42e43f50be3fd7004e9570c (patch)
treec406700678eae1b512a43bfc6764f5eebd09725c /pkgs/applications/audio/ft2-clone
parent78215a8395f4ca1ed801c62a1c4c3e77f2c7d29f (diff)
downloadnixpkgs-e158d1961823657cc42e43f50be3fd7004e9570c.tar
nixpkgs-e158d1961823657cc42e43f50be3fd7004e9570c.tar.gz
nixpkgs-e158d1961823657cc42e43f50be3fd7004e9570c.tar.bz2
nixpkgs-e158d1961823657cc42e43f50be3fd7004e9570c.tar.lz
nixpkgs-e158d1961823657cc42e43f50be3fd7004e9570c.tar.xz
nixpkgs-e158d1961823657cc42e43f50be3fd7004e9570c.tar.zst
nixpkgs-e158d1961823657cc42e43f50be3fd7004e9570c.zip
ft2-clone: add nixos test
Diffstat (limited to 'pkgs/applications/audio/ft2-clone')
-rw-r--r--pkgs/applications/audio/ft2-clone/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/audio/ft2-clone/default.nix b/pkgs/applications/audio/ft2-clone/default.nix
index 60040119d64..a7f85a8ae92 100644
--- a/pkgs/applications/audio/ft2-clone/default.nix
+++ b/pkgs/applications/audio/ft2-clone/default.nix
@@ -1,6 +1,7 @@
 { stdenv
 , fetchFromGitHub
 , cmake
+, nixosTests
 , alsaLib
 , SDL2
 }:
@@ -19,6 +20,10 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ cmake ];
   buildInputs = [ SDL2 ] ++ stdenv.lib.optional stdenv.isLinux alsaLib;
 
+  passthru.tests = {
+    ft2-clone-starts = nixosTests.ft2-clone;
+  };
+
   meta = with stdenv.lib; {
     description = "A highly accurate clone of the classic Fasttracker II software for MS-DOS";
     homepage = "https://16-bits.org/ft2.php";