2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2020-05-02 20:09:13 +00:00
|
|
|
, autoreconfHook
|
|
|
|
, alsaLib, python, SDL }:
|
2014-12-01 18:58:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "schismtracker";
|
2020-05-15 16:23:16 +00:00
|
|
|
version = "20200412";
|
2014-12-01 18:58:25 +00:00
|
|
|
|
2020-05-02 20:09:13 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-05-15 16:23:16 +00:00
|
|
|
sha256 = "1n6cgjiw3vkv7a1h1nki5syyjxjb6icknr9s049w2jrag10bxssn";
|
2014-12-01 18:58:25 +00:00
|
|
|
};
|
|
|
|
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [ "--enable-dependency-tracking" ];
|
2014-12-01 18:58:25 +00:00
|
|
|
|
2020-05-02 20:09:13 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook python ];
|
2014-12-01 18:58:25 +00:00
|
|
|
|
2021-01-15 13:21:58 +00:00
|
|
|
buildInputs = [ SDL ] ++ lib.optional stdenv.isLinux alsaLib;
|
2017-11-21 04:27:10 +00:00
|
|
|
|
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 01:11:51 +00:00
|
|
|
homepage = "http://schismtracker.org/";
|
2020-05-02 20:09:13 +00:00
|
|
|
license = licenses.gpl2;
|
2020-05-15 16:21:34 +00:00
|
|
|
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
|
2020-05-02 20:09:13 +00:00
|
|
|
maintainers = with maintainers; [ ftrvxmtrx ];
|
2014-12-01 18:58:25 +00:00
|
|
|
};
|
|
|
|
}
|