5a8b500490
GitOrigin-RevId: 1ca6b0a0cc38dbba0441202535c92841dd39d1ae
35 lines
818 B
Nix
35 lines
818 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, alsaLib
|
|
, python
|
|
, SDL
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "schismtracker";
|
|
version = "20210525";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "06ybkbqry7f7lmzgwb9s7ipafshl5gdj98lcjsjkcbnywj8r9b3h";
|
|
};
|
|
|
|
configureFlags = [ "--enable-dependency-tracking" ]
|
|
++ lib.optional stdenv.isDarwin "--disable-sdltest";
|
|
|
|
nativeBuildInputs = [ autoreconfHook python ];
|
|
|
|
buildInputs = [ SDL ] ++ lib.optional stdenv.isLinux alsaLib;
|
|
|
|
meta = with lib; {
|
|
description = "Music tracker application, free reimplementation of Impulse Tracker";
|
|
homepage = "http://schismtracker.org/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ ftrvxmtrx ];
|
|
};
|
|
}
|