pt2-clone: add nixos test

This commit is contained in:
Francesco Gazzetta
2020-07-29 19:45:03 +02:00
parent 411e09d83c
commit 4436c0151e
3 changed files with 41 additions and 0 deletions
@@ -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 = {
pt2-clone-opens = nixosTests.pt2-clone;
};
meta = with stdenv.lib; {
description = "A highly accurate clone of the classic ProTracker 2.3D software for Amiga";
homepage = "https://16-bits.org/pt2.php";