nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 70 lines 1.3 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 pkg-config, 7 alsa-lib, 8 fontconfig, 9 freetype, 10 libX11, 11 libXcomposite, 12 libXcursor, 13 libXdmcp, 14 libXext, 15 libXinerama, 16 libXrandr, 17 libXtst, 18 ladspaH, 19}: 20 21stdenv.mkDerivation (finalAttrs: { 22 pname = "pluginval"; 23 version = "1.0.4"; 24 src = fetchFromGitHub { 25 owner = "Tracktion"; 26 repo = "pluginval"; 27 tag = "v${finalAttrs.version}"; 28 hash = "sha256-j4Lb3pcw0931o63OvTTaIm2UzvYDIjmnaCXGvKB4gwM="; 29 fetchSubmodules = true; 30 }; 31 32 nativeBuildInputs = [ 33 cmake 34 pkg-config 35 ]; 36 37 buildInputs = [ 38 alsa-lib 39 fontconfig 40 freetype 41 libX11 42 libXcomposite 43 libXcursor 44 libXdmcp 45 libXext 46 libXinerama 47 libXrandr 48 libXtst 49 ladspaH 50 ]; 51 52 cmakeFlags = [ 53 (lib.cmakeFeature "CMAKE_BUILD_TYPE" "Debug") 54 ]; 55 56 installPhase = '' 57 runHook preInstall 58 install -Dm755 pluginval_artefacts/Debug/pluginval $out/bin/pluginval 59 runHook postInstall 60 ''; 61 62 meta = { 63 description = "Cross-platform plugin validator and tester for AU/VST2/VST3 plugins"; 64 homepage = "https://github.com/Tracktion/pluginval"; 65 license = lib.licenses.gpl3Only; 66 maintainers = with lib.maintainers; [ magnetophon ]; 67 platforms = lib.platforms.linux; 68 mainProgram = "pluginval"; 69 }; 70})