3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/schismtracker/default.nix

38 lines
856 B
Nix
Raw Normal View History

2021-05-30 23:17:59 +01:00
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, alsa-lib
2022-01-12 05:22:17 +00:00
, python3
2021-05-30 23:17:59 +01:00
, SDL
}:
2014-12-01 18:58:25 +00:00
stdenv.mkDerivation rec {
pname = "schismtracker";
2021-11-27 00:16:27 +00:00
version = "20211116";
2014-12-01 18:58:25 +00:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
2021-11-27 00:16:27 +00:00
sha256 = "1kcw4rwphyqh0hwwjsydzwg484xj17rb5lc8pfsixsg77z50ayzz";
2014-12-01 18:58:25 +00:00
};
2021-05-26 06:45:49 +01:00
configureFlags = [ "--enable-dependency-tracking" ]
++ lib.optional stdenv.isDarwin "--disable-sdltest";
2014-12-01 18:58:25 +00:00
2022-01-12 05:22:17 +00:00
nativeBuildInputs = [ autoreconfHook python3 ];
2014-12-01 18:58:25 +00:00
buildInputs = [ SDL ] ++ lib.optional stdenv.isLinux alsa-lib;
2021-11-27 00:16:27 +00:00
enableParallelBuilding = true;
meta = with lib; {
2014-12-01 18:58:25 +00:00
description = "Music tracker application, free reimplementation of Impulse Tracker";
homepage = "http://schismtracker.org/";
2021-05-30 23:17:59 +01:00
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ ftrvxmtrx ];
2014-12-01 18:58:25 +00:00
};
}