3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/schismtracker/default.nix
2021-11-27 01:16:27 +01:00

38 lines
854 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, alsa-lib
, python
, SDL
}:
stdenv.mkDerivation rec {
pname = "schismtracker";
version = "20211116";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "1kcw4rwphyqh0hwwjsydzwg484xj17rb5lc8pfsixsg77z50ayzz";
};
configureFlags = [ "--enable-dependency-tracking" ]
++ lib.optional stdenv.isDarwin "--disable-sdltest";
nativeBuildInputs = [ autoreconfHook python ];
buildInputs = [ SDL ] ++ lib.optional stdenv.isLinux alsa-lib;
enableParallelBuilding = true;
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 ];
};
}