mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
c8bdca3a87
fix build to use default gcc toolchain which fixes link errors associated with building against mismatched libstd++ patch vendored juice library to remove packed attributes which cause compile errors but add static asserts to verify that the struct / class layouts are identical regardless of attribute
34 lines
990 B
Nix
34 lines
990 B
Nix
{ lib, stdenv, fetchFromGitHub, fltk, alsa-lib, freetype, libXrandr, libXinerama, libXcursor, lv2, libjack2, cmake, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ensemble-chorus";
|
|
version = "0-unstable-2019-02-15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jpcima";
|
|
repo = pname;
|
|
rev = "59baeb86b8851f521bc8162e22e3f15061662cc3";
|
|
sha256 = "0c1y10vyhrihcjvxqpqf6b52yk5yhwh813cfp6nla5ax2w88dbhr";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
patches = [
|
|
# fix compile error regarding packed attribute in 3rd party juice library
|
|
./juice-cxx-packing-fix.diff
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [
|
|
fltk alsa-lib freetype libXrandr libXinerama libXcursor lv2 libjack2
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/jpcima/ensemble-chorus";
|
|
description = "Digital model of electronic string ensemble chorus";
|
|
maintainers = [ maintainers.magnetophon ];
|
|
platforms = platforms.linux;
|
|
license = licenses.boost;
|
|
};
|
|
}
|