2021-05-30 23:17:59 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
2020-05-02 21:09:13 +01:00
|
|
|
, autoreconfHook
|
2021-06-10 03:57:09 +01:00
|
|
|
, alsa-lib
|
2022-01-12 05:22:17 +00:00
|
|
|
, python3
|
2021-05-30 23:17:59 +01:00
|
|
|
, SDL
|
|
|
|
}:
|
2014-12-01 18:58:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "schismtracker";
|
2022-01-27 01:22:34 +00:00
|
|
|
version = "20220125";
|
2014-12-01 18:58:25 +00:00
|
|
|
|
2020-05-02 21:09:13 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-01-27 01:22:34 +00:00
|
|
|
sha256 = "sha256-Hqbm5+YyCde/6QuyIy4NE/jG4xNDzeNjEefMr60GEZM=";
|
2014-12-01 18:58:25 +00:00
|
|
|
};
|
|
|
|
|
2021-05-26 06:45:49 +01:00
|
|
|
configureFlags = [ "--enable-dependency-tracking" ]
|
|
|
|
++ lib.optional stdenv.isDarwin "--disable-sdltest";
|
2014-12-01 18:58:25 +00:00
|
|
|
|
2022-01-12 05:22:17 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook python3 ];
|
2014-12-01 18:58:25 +00:00
|
|
|
|
2021-06-10 03:57:09 +01:00
|
|
|
buildInputs = [ SDL ] ++ lib.optional stdenv.isLinux alsa-lib;
|
2017-11-21 04:27:10 +00:00
|
|
|
|
2021-11-27 00:16:27 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-12-01 18:58:25 +00:00
|
|
|
description = "Music tracker application, free reimplementation of Impulse Tracker";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://schismtracker.org/";
|
2021-05-30 23:17:59 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2020-05-02 21:09:13 +01:00
|
|
|
maintainers = with maintainers; [ ftrvxmtrx ];
|
2014-12-01 18:58:25 +00:00
|
|
|
};
|
|
|
|
}
|