2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cairo, fftw, gtkmm2, lv2, lvtk, pkg-config
|
2021-01-05 17:05:55 +00:00
|
|
|
, wafHook, python3 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ams-lv2";
|
|
|
|
version = "1.2.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "blablack";
|
|
|
|
repo = "ams-lv2";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wafHook python3 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ cairo fftw gtkmm2 lv2 lvtk ];
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
postPatch = ''
|
|
|
|
# U was removed in python 3.11 because it had no effect
|
|
|
|
substituteInPlace waflib/*.py \
|
|
|
|
--replace "m='rU" "m='r"
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "An LV2 port of the internal modules found in Alsa Modular Synth";
|
|
|
|
homepage = "https://github.com/blablack/ams-lv2";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
# Build uses `-msse` and `-mfpmath=sse`
|
|
|
|
badPlatforms = [ "aarch64-linux" ];
|
|
|
|
};
|
|
|
|
}
|