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