summary refs log tree commit diff
path: root/pkgs/applications/audio/schismtracker/default.nix
blob: 7f6762958a3462e430b1296fff353ca24cbfbab9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchFromGitHub
, autoreconfHook
, alsaLib, python, SDL }:

stdenv.mkDerivation rec {
  pname = "schismtracker";
  version = "20200412";

  src = fetchFromGitHub {
    owner = pname;
    repo = pname;
    rev = version;
    sha256 = "1n6cgjiw3vkv7a1h1nki5syyjxjb6icknr9s049w2jrag10bxssn";
  };

  configureFlags = [ "--enable-dependency-tracking" ];

  nativeBuildInputs = [ autoreconfHook python ];

  buildInputs = [ SDL ] ++ stdenv.lib.optional stdenv.isLinux alsaLib;

  meta = with stdenv.lib; {
    description = "Music tracker application, free reimplementation of Impulse Tracker";
    homepage = "http://schismtracker.org/";
    license = licenses.gpl2;
    platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
    maintainers = with maintainers; [ ftrvxmtrx ];
  };
}