mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
ChowCentaur: init at 1.4.0
This commit is contained in:
parent
e303529d40
commit
308a806d9a
53
pkgs/applications/audio/ChowCentaur/default.nix
Normal file
53
pkgs/applications/audio/ChowCentaur/default.nix
Normal file
@ -0,0 +1,53 @@
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, cairo, libxkbcommon
|
||||
, xcbutilcursor, xcbutilkeysyms, xcbutil, libXrandr, libXinerama, libXcursor
|
||||
, alsa-lib, libjack2, lv2, gcc-unwrapped }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ChowCentaur";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jatinchowdhury18";
|
||||
repo = "KlonCentaur";
|
||||
rev = "v${version}";
|
||||
sha256 = "0mrzlf4a6f25xd7z9xanpyq7ybb4al01dzpjsgi0jkmlmadyhc4h";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [
|
||||
cairo
|
||||
libxkbcommon
|
||||
xcbutilcursor
|
||||
xcbutilkeysyms
|
||||
xcbutil
|
||||
libXrandr
|
||||
libXinerama
|
||||
libXcursor
|
||||
alsa-lib
|
||||
libjack2
|
||||
lv2
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_AR=${gcc-unwrapped}/bin/gcc-ar"
|
||||
"-DCMAKE_RANLIB=${gcc-unwrapped}/bin/gcc-ranlib"
|
||||
"-DCMAKE_NM=${gcc-unwrapped}/bin/gcc-nm"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/lv2 $out/lib/vst3
|
||||
cd ChowCentaur/ChowCentaur_artefacts/Release
|
||||
cp -r LV2/ChowCentaur.lv2 $out/lib/lv2
|
||||
cp -r VST3/ChowCentaur.vst3 $out/lib/vst3
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
"Digital emulation of the Klon Centaur guitar pedal using RNNs, Wave Digital Filters, and more";
|
||||
homepage = "https://github.com/jatinchowdhury18/KlonCentaur";
|
||||
license = licenses.bsd3;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ magnetophon ];
|
||||
};
|
||||
}
|
@ -24777,6 +24777,8 @@ with pkgs;
|
||||
|
||||
boops = callPackage ../applications/audio/boops { };
|
||||
|
||||
ChowCentaur = callPackage ../applications/audio/ChowCentaur { };
|
||||
|
||||
ChowKick = callPackage ../applications/audio/ChowKick { };
|
||||
|
||||
CHOWTapeModel = callPackage ../applications/audio/CHOWTapeModel { };
|
||||
|
Loading…
Reference in New Issue
Block a user