2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2020-05-03 17:38:23 +00:00
|
|
|
, autoreconfHook
|
|
|
|
, alsaLib, python, SDL }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "schismtracker";
|
2020-05-29 06:06:01 +00:00
|
|
|
version = "20200412";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-05-29 06:06:01 +00:00
|
|
|
sha256 = "1n6cgjiw3vkv7a1h1nki5syyjxjb6icknr9s049w2jrag10bxssn";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-dependency-tracking" ];
|
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook python ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
buildInputs = [ SDL ] ++ lib.optional stdenv.isLinux alsaLib;
|
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/";
|
2020-05-03 17:38:23 +00:00
|
|
|
license = licenses.gpl2;
|
2020-05-29 06:06:01 +00:00
|
|
|
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
|
2020-05-03 17:38:23 +00:00
|
|
|
maintainers = with maintainers; [ ftrvxmtrx ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|