2017-09-01 23:21:42 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, gnutls, freetype
|
2015-06-27 09:17:52 +02:00
|
|
|
, SDL, SDL_gfx, SDL_ttf, liblo, libxml2, alsaLib, libjack2, libvorbis
|
2017-09-01 23:21:42 +02:00
|
|
|
, libSM, libsndfile, libogg, libtool
|
2014-09-27 12:52:30 +02:00
|
|
|
}:
|
2017-09-01 23:21:42 +02:00
|
|
|
let
|
|
|
|
makeSDLFlags = map (p: "-I${lib.getDev p}/include/SDL");
|
|
|
|
in
|
2014-09-26 17:20:02 +02:00
|
|
|
|
2016-09-19 00:41:35 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "freewheeling";
|
2019-03-02 08:24:29 +01:00
|
|
|
version = "0.6.5";
|
2014-09-26 17:20:02 +02:00
|
|
|
|
2017-01-27 18:37:24 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "free-wheeling";
|
|
|
|
repo = "freewheeling";
|
2017-09-01 23:21:42 +02:00
|
|
|
rev = "v${version}";
|
2019-03-02 08:24:29 +01:00
|
|
|
sha256 = "1gjii2kndffj9iqici4vb9zrkrdqj1hs9q43x7jv48wv9872z78r";
|
2014-09-26 17:20:02 +02:00
|
|
|
};
|
|
|
|
|
2017-09-01 23:21:42 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook libtool ];
|
2014-09-27 12:52:30 +02:00
|
|
|
buildInputs = [
|
2017-01-27 18:37:24 +01:00
|
|
|
freetype SDL SDL_gfx SDL_ttf
|
2016-08-22 06:42:27 +02:00
|
|
|
liblo libxml2 libjack2 alsaLib libvorbis libsndfile libogg libSM
|
2017-01-27 18:37:24 +01:00
|
|
|
(gnutls.overrideAttrs (oldAttrs: {
|
|
|
|
configureFlags = oldAttrs.configureFlags ++ [ "--enable-openssl-compatibility" ];
|
|
|
|
}))
|
2014-09-27 12:52:30 +02:00
|
|
|
];
|
2019-10-30 02:29:30 +01:00
|
|
|
NIX_CFLAGS_COMPILE = toString
|
|
|
|
(makeSDLFlags [ SDL SDL_ttf SDL_gfx ] ++ [ "-I${libxml2.dev}/include/libxml2" ]);
|
2014-09-27 12:52:30 +02:00
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-11 01:28:00 +01:00
|
|
|
|
2014-09-26 17:20:02 +02:00
|
|
|
meta = {
|
2014-09-27 12:52:30 +02:00
|
|
|
description = "A live looping instrument with JACK and MIDI support";
|
2014-09-26 17:47:40 +02: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.
|
|
|
|
|
2017-08-07 00:05:18 +02:00
|
|
|
Freewheeling runs under macOS and Linux, and is open source
|
2014-09-26 17:47:40 +02:00
|
|
|
software, released under the GNU GPL license.
|
|
|
|
'' ;
|
|
|
|
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://freewheeling.sourceforge.net";
|
2014-09-26 17:20:02 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.sepi ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|