aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/audio/pt2-clone/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/audio/pt2-clone/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/audio/pt2-clone/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/applications/audio/pt2-clone/default.nix b/nixpkgs/pkgs/applications/audio/pt2-clone/default.nix
index c5004634256..b76be35da29 100644
--- a/nixpkgs/pkgs/applications/audio/pt2-clone/default.nix
+++ b/nixpkgs/pkgs/applications/audio/pt2-clone/default.nix
@@ -1,24 +1,29 @@
{ stdenv
, fetchFromGitHub
, cmake
+, nixosTests
, alsaLib
, SDL2
}:
stdenv.mkDerivation rec {
pname = "pt2-clone";
- version = "1.16";
+ version = "1.22";
src = fetchFromGitHub {
owner = "8bitbubsy";
repo = "pt2-clone";
rev = "v${version}";
- sha256 = "0rbjphhyca71j22lbyx53w3n2mkdw7xflks2knfaziwdkqcfcvp2";
+ sha256 = "1w6lbq4366bawy975glvjizk57zhvl562xhxwzn7p5hpm2bvw09b";
};
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";