Cardinal: init at 22.02

authored by Bart Brouns and committed by ehmry aaf7d5b4 9e6fe83e

+78
+76
pkgs/applications/audio/cardinal/default.nix
···
··· 1 + { 2 + stdenv 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , fetchurl 6 + , fetchzip 7 + , freetype 8 + , jansson 9 + , lib 10 + , libGL 11 + , libX11 12 + , libXcursor 13 + , libXext 14 + , libXrandr 15 + , libarchive 16 + , liblo 17 + , libsamplerate 18 + , mesa 19 + , pkg-config 20 + , python3 21 + , speexdsp 22 + }: 23 + 24 + stdenv.mkDerivation rec { 25 + name = "cardinal-${version}"; 26 + version = "22.02"; 27 + 28 + src = fetchurl { 29 + url = 30 + "https://github.com/DISTRHO/Cardinal/releases/download/${version}/cardinal-${version}.tar.xz"; 31 + sha256 = "sha256-IVlAROFGFffTEU00NCmv74w1DRb7dNMp20FeBVoDrdM="; 32 + }; 33 + 34 + patches = [ 35 + # see https://github.com/DISTRHO/Cardinal/issues/151#issuecomment-1041886260 36 + (fetchpatch { 37 + url = 38 + "https://github.com/DISTRHO/Cardinal/commit/13e9ef37c5dd35d77a54b1cb006767be7a72ac69.patch"; 39 + sha256 = "sha256-NYUYLbLeBX1WEzjPi0s/T1N+EXQKyi0ifbPxgBYDjRs="; 40 + }) 41 + ]; 42 + 43 + prePatch = '' 44 + patchShebangs ./dpf/utils/generate-ttl.sh 45 + ''; 46 + 47 + enableParallelBuilding = true; 48 + 49 + nativeBuildInputs = [ pkg-config ]; 50 + buildInputs = [ 51 + freetype 52 + jansson 53 + libGL 54 + libX11 55 + libXcursor 56 + libXext 57 + libXrandr 58 + libXrandr 59 + libarchive 60 + liblo 61 + libsamplerate 62 + mesa 63 + python3 64 + speexdsp 65 + ]; 66 + 67 + makeFlags = [ "SYSDEPS=true" "PREFIX=$(out)" ]; 68 + 69 + meta = { 70 + description = "Plugin wrapper around VCV Rack"; 71 + homepage = "https://github.com/DISTRHO/cardinal"; 72 + license = lib.licenses.gpl3; 73 + maintainers = [ lib.maintainers.magnetophon ]; 74 + platforms = lib.platforms.all; 75 + }; 76 + }
+2
pkgs/top-level/all-packages.nix
··· 24867 24868 carddav-util = callPackage ../tools/networking/carddav-util { }; 24869 24870 carla = libsForQt5.callPackage ../applications/audio/carla { }; 24871 24872 castor = callPackage ../applications/networking/browsers/castor { };
··· 24867 24868 carddav-util = callPackage ../tools/networking/carddav-util { }; 24869 24870 + cardinal = callPackage ../applications/audio/cardinal { }; 24871 + 24872 carla = libsForQt5.callPackage ../applications/audio/carla { }; 24873 24874 castor = callPackage ../applications/networking/browsers/castor { };