2018-09-13 07:21:08 +03:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, makeWrapper
|
|
|
|
, SDL2, alsaLib, libjack2, lhasa, perl, rtmidi, zlib, zziplib }:
|
2013-10-29 20:14:53 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-09-13 07:21:08 +03:00
|
|
|
version = "1.02.00";
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "milkytracker";
|
2013-10-29 20:14:53 +04:00
|
|
|
|
2018-09-13 07:21:08 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "milkytracker";
|
|
|
|
repo = "MilkyTracker";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "05a6d7l98k9i82dwrgi855dnccm3f2lkb144gi244vhk1156n0ca";
|
2013-10-29 20:14:53 +04:00
|
|
|
};
|
|
|
|
|
2017-08-31 03:50:17 +03:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
|
|
|
|
|
2018-09-13 07:21:08 +03:00
|
|
|
buildInputs = [ SDL2 alsaLib libjack2 lhasa perl rtmidi zlib zziplib ];
|
2013-10-29 20:14:53 +04:00
|
|
|
|
2020-02-18 10:53:48 +03:00
|
|
|
# Somehow this does not get set automatically
|
|
|
|
cmakeFlags = [ "-DSDL2MAIN_LIBRARY=${SDL2}/lib/libSDL2.so" ];
|
|
|
|
|
2018-09-13 07:21:08 +03:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-11 16:20:43 +03:00
|
|
|
description = "Music tracker application, similar to Fasttracker II";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://milkytracker.org";
|
2018-09-13 07:21:08 +03:00
|
|
|
license = licenses.gpl3Plus;
|
2013-11-07 14:05:13 +04:00
|
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
2018-09-13 07:21:08 +03:00
|
|
|
maintainers = with maintainers; [ zoomulator ];
|
2013-10-29 20:14:53 +04:00
|
|
|
};
|
|
|
|
}
|