nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 51 lines 976 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 boost, 6 ladspaH, 7 lilv, 8 lv2, 9 pkg-config, 10 serd, 11 sord, 12 sratom, 13}: 14 15stdenv.mkDerivation { 16 pname = "plugin-torture"; 17 version = "2016-07-25"; 18 19 src = fetchFromGitHub { 20 owner = "cth103"; 21 repo = "plugin-torture"; 22 rev = "8b9c43197dca372da6b9c8212224ec86b5f16b4a"; 23 sha256 = "1xyhvhm85d9z0kw716cjllrrzksn4s4bw34layg8hf4m5m31sp2p"; 24 }; 25 26 nativeBuildInputs = [ pkg-config ]; 27 buildInputs = [ 28 boost 29 ladspaH 30 lilv 31 lv2 32 serd 33 sord 34 sratom 35 ]; 36 37 installPhase = '' 38 mkdir -p $out/bin 39 cp plugin-torture $out/bin/ 40 cp find-safe-plugins $out/bin/ 41 ''; 42 43 meta = with lib; { 44 broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); 45 homepage = "https://github.com/cth103/plugin-torture"; 46 description = "Tool to test LADSPA and LV2 plugins"; 47 license = licenses.gpl2; 48 maintainers = [ maintainers.magnetophon ]; 49 platforms = platforms.linux; 50 }; 51}