nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 61 lines 1.3 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cairomm, 6 cmake, 7 libjack2, 8 libpthreadstubs, 9 libXdmcp, 10 libxshmfence, 11 libsndfile, 12 lv2, 13 ntk, 14 pkg-config, 15}: 16 17stdenv.mkDerivation (finalAttrs: { 18 pname = "artyFX"; 19 version = "1.3.1"; 20 21 src = fetchFromGitHub { 22 owner = "openAVproductions"; 23 repo = "openAV-ArtyFX"; 24 rev = "release-${finalAttrs.version}"; 25 hash = "sha256-GD9nwXdXSJX5OvAMxEAnngkvRW+E1jrNfWXK122bsTM="; 26 }; 27 28 nativeBuildInputs = [ 29 cmake 30 pkg-config 31 ]; 32 buildInputs = [ 33 cairomm 34 libjack2 35 libpthreadstubs 36 libXdmcp 37 libxshmfence 38 libsndfile 39 lv2 40 ntk 41 ]; 42 43 postPatch = '' 44 substituteInPlace CMakeLists.txt --replace-fail \ 45 'cmake_minimum_required (VERSION 2.6)' \ 46 'cmake_minimum_required(VERSION 4.0)' 47 substituteInPlace src/avtk/CMakeLists.txt --replace-fail \ 48 'cmake_minimum_required (VERSION 2.6)' \ 49 'cmake_minimum_required(VERSION 4.0)' 50 ''; 51 52 meta = { 53 homepage = "http://openavproductions.com/artyfx/"; 54 description = "LV2 plugin bundle of artistic realtime effects"; 55 license = lib.licenses.gpl2; 56 maintainers = [ lib.maintainers.magnetophon ]; 57 platforms = lib.platforms.linux; 58 # Build uses `-msse` and `-mfpmath=sse` 59 badPlatforms = [ "aarch64-linux" ]; 60 }; 61})