Merge pull request #123935 from magnetophon/ChowKick

authored by Sandro and committed by GitHub 662373bd 3e09ae93

+108
+106
pkgs/applications/audio/ChowKick/default.nix
··· 1 + { alsa-lib 2 + , at-spi2-core 3 + , brotli 4 + , cmake 5 + , curl 6 + , dbus 7 + , epoxy 8 + , fetchFromGitHub 9 + , freeglut 10 + , freetype 11 + , gtk2-x11 12 + , lib 13 + , libGL 14 + , libXcursor 15 + , libXdmcp 16 + , libXext 17 + , libXinerama 18 + , libXrandr 19 + , libXtst 20 + , libdatrie 21 + , libjack2 22 + , libpsl 23 + , libselinux 24 + , libsepol 25 + , libsysprof-capture 26 + , libthai 27 + , libxkbcommon 28 + , lv2 29 + , pcre 30 + , pkg-config 31 + , python3 32 + , sqlite 33 + , stdenv 34 + , util-linuxMinimal 35 + , webkitgtk 36 + }: 37 + 38 + stdenv.mkDerivation rec { 39 + pname = "ChowKick"; 40 + version = "1.1.1"; 41 + 42 + src = fetchFromGitHub { 43 + owner = "Chowdhury-DSP"; 44 + repo = pname; 45 + rev = "v${version}"; 46 + sha256 = "0amnp0p7ckbbr9dcbdnld1ryv46kvza2dj8m6hzmi7c1s4df8x5q"; 47 + fetchSubmodules = true; 48 + }; 49 + 50 + nativeBuildInputs = [ 51 + pkg-config 52 + cmake 53 + ]; 54 + buildInputs = [ 55 + alsa-lib 56 + at-spi2-core 57 + brotli 58 + curl 59 + dbus 60 + epoxy 61 + freeglut 62 + freetype 63 + gtk2-x11 64 + libGL 65 + libXcursor 66 + libXdmcp 67 + libXext 68 + libXinerama 69 + libXrandr 70 + libXtst 71 + libdatrie 72 + libjack2 73 + libpsl 74 + libselinux 75 + libsepol 76 + libsysprof-capture 77 + libthai 78 + libxkbcommon 79 + lv2 80 + pcre 81 + python3 82 + sqlite 83 + util-linuxMinimal 84 + webkitgtk 85 + ]; 86 + 87 + cmakeFlags = [ 88 + "-DCMAKE_AR=${stdenv.cc.cc}/bin/gcc-ar" 89 + "-DCMAKE_RANLIB=${stdenv.cc.cc}/bin/gcc-ranlib" 90 + ]; 91 + 92 + installPhase = '' 93 + mkdir -p $out/lib/lv2 $out/lib/vst3 $out/bin 94 + cp -r ChowKick_artefacts/Release/LV2//${pname}.lv2 $out/lib/lv2 95 + cp -r ChowKick_artefacts/Release/VST3/${pname}.vst3 $out/lib/vst3 96 + cp ChowKick_artefacts/Release/Standalone/${pname} $out/bin 97 + ''; 98 + 99 + meta = with lib; { 100 + homepage = "https://github.com/Chowdhury-DSP/ChowKick"; 101 + description = "Kick synthesizer based on old-school drum machine circuits"; 102 + license = with licenses; [ bsd3 ]; 103 + maintainers = with maintainers; [ magnetophon ]; 104 + platforms = platforms.linux; 105 + }; 106 + }
+2
pkgs/top-level/all-packages.nix
··· 24146 24146 24147 24147 boops = callPackage ../applications/audio/boops { }; 24148 24148 24149 + ChowKick = callPackage ../applications/audio/ChowKick { }; 24150 + 24149 24151 CHOWTapeModel = callPackage ../applications/audio/CHOWTapeModel { }; 24150 24152 24151 24153 chromium = callPackage ../applications/networking/browsers/chromium (config.chromium or {});