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