nixpkgs-suyu/pkgs/applications/audio/schismtracker/default.nix

36 lines
818 B
Nix
Raw Normal View History

2021-05-31 00:17:59 +02:00
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
2021-05-31 00:17:59 +02:00
, alsaLib
, python
, SDL
}:
2014-12-01 19:58:25 +01:00
stdenv.mkDerivation rec {
pname = "schismtracker";
2021-05-31 00:17:59 +02:00
version = "20210525";
2014-12-01 19:58:25 +01:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
2021-05-31 00:17:59 +02:00
sha256 = "06ybkbqry7f7lmzgwb9s7ipafshl5gdj98lcjsjkcbnywj8r9b3h";
2014-12-01 19:58:25 +01:00
};
2021-05-26 07:45:49 +02:00
configureFlags = [ "--enable-dependency-tracking" ]
++ lib.optional stdenv.isDarwin "--disable-sdltest";
2014-12-01 19:58:25 +01:00
nativeBuildInputs = [ autoreconfHook python ];
2014-12-01 19:58:25 +01:00
2021-01-15 14:21:58 +01:00
buildInputs = [ SDL ] ++ lib.optional stdenv.isLinux alsaLib;
meta = with lib; {
2014-12-01 19:58:25 +01:00
description = "Music tracker application, free reimplementation of Impulse Tracker";
homepage = "http://schismtracker.org/";
2021-05-31 00:17:59 +02:00
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ ftrvxmtrx ];
2014-12-01 19:58:25 +01:00
};
}