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-06-04 09:07:49 +00:00
|
|
|
version = "20210525";
|
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-06-04 09:07:49 +00:00
|
|
|
sha256 = "06ybkbqry7f7lmzgwb9s7ipafshl5gdj98lcjsjkcbnywj8r9b3h";
|
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-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
|
|
|
};
|
|
|
|
}
|