nixpkgs/pkgs/applications/audio/freewheeling/default.nix

53 lines
1.7 KiB
Nix
Raw Normal View History

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