2017-01-27 17:37:24 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, gnutls, freetype
|
2015-06-27 08:17:52 +01:00
|
|
|
, SDL, SDL_gfx, SDL_ttf, liblo, libxml2, alsaLib, libjack2, libvorbis
|
2016-08-22 05:42:27 +01:00
|
|
|
, libSM, libsndfile, libogg
|
2014-09-27 11:52:30 +01:00
|
|
|
}:
|
2014-09-26 16:20:02 +01:00
|
|
|
|
2016-09-18 23:41:35 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "freewheeling-${version}";
|
2017-01-27 17:37:24 +00:00
|
|
|
version = "2016-11-15";
|
2014-09-26 16:20:02 +01:00
|
|
|
|
2017-01-27 17:37:24 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "free-wheeling";
|
|
|
|
repo = "freewheeling";
|
|
|
|
rev = "05ef3bf150fa6ba1b1d437b1fd70ef363289742f";
|
|
|
|
sha256 = "19plf7r0sq4271ln5bya95mp4i1j30x8hsxxga2kla27z953n9ih";
|
2014-09-26 16:20:02 +01:00
|
|
|
};
|
|
|
|
|
2016-09-18 23:41:35 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
2014-09-27 11:52:30 +01:00
|
|
|
buildInputs = [
|
2017-01-27 17:37:24 +00:00
|
|
|
freetype SDL SDL_gfx SDL_ttf
|
2016-08-22 05:42:27 +01:00
|
|
|
liblo libxml2 libjack2 alsaLib libvorbis libsndfile libogg libSM
|
2017-01-27 17:37:24 +00:00
|
|
|
(gnutls.overrideAttrs (oldAttrs: {
|
|
|
|
configureFlags = oldAttrs.configureFlags ++ [ "--enable-openssl-compatibility" ];
|
|
|
|
}))
|
2014-09-27 11:52:30 +01:00
|
|
|
];
|
2014-09-26 16:20:02 +01:00
|
|
|
|
|
|
|
patches = [ ./am_path_sdl.patch ./xml.patch ];
|
2014-09-27 11:52:30 +01:00
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-11 00:28:00 +00:00
|
|
|
|
2014-09-26 16:20:02 +01:00
|
|
|
meta = {
|
2014-09-27 11:52:30 +01:00
|
|
|
description = "A live looping instrument with JACK and MIDI support";
|
2014-09-26 16:47:40 +01:00
|
|
|
longDescription = ''
|
|
|
|
Freewheeling allows us to build repetitive grooves
|
|
|
|
by sampling and directing loops from within spirited improvisation.
|
|
|
|
|
|
|
|
It works because, down to the core, it's built around
|
|
|
|
improv. We leave mice and menus, and dive into our own process
|
|
|
|
of making sound.
|
|
|
|
|
|
|
|
Freewheeling runs under Mac OS X and Linux, and is open source
|
|
|
|
software, released under the GNU GPL license.
|
|
|
|
'' ;
|
|
|
|
|
2014-09-26 16:20:02 +01:00
|
|
|
homepage = "http://freewheeling.sourceforge.net";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.sepi ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|