2021-06-04 09:07:49 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
2020-05-03 17:38:23 +00:00
|
|
|
, autoreconfHook
|
2021-06-28 23:13:55 +00:00
|
|
|
, alsa-lib
|
2021-06-04 09:07:49 +00:00
|
|
|
, python
|
|
|
|
, SDL
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "schismtracker";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "20211116";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "1kcw4rwphyqh0hwwjsydzwg484xj17rb5lc8pfsixsg77z50ayzz";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-06-01 10:57:12 +00:00
|
|
|
configureFlags = [ "--enable-dependency-tracking" ]
|
|
|
|
++ lib.optional stdenv.isDarwin "--disable-sdltest";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook python ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
buildInputs = [ SDL ] ++ lib.optional stdenv.isLinux alsa-lib;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Music tracker application, free reimplementation of Impulse Tracker";
|
|
|
|
homepage = "http://schismtracker.org/";
|
2021-06-04 09:07:49 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2020-05-03 17:38:23 +00:00
|
|
|
maintainers = with maintainers; [ ftrvxmtrx ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|