mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
38 lines
856 B
Nix
38 lines
856 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, alsa-lib
|
|
, python3
|
|
, 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 python3 ];
|
|
|
|
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 ];
|
|
};
|
|
}
|