nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 49 lines 836 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 glib, 6 libsndfile, 7 lilv, 8 lv2, 9 pkg-config, 10 serd, 11 sord, 12 sratom, 13}: 14 15stdenv.mkDerivation (finalAttrs: { 16 pname = "lv2bm"; 17 version = "1.1"; 18 19 src = fetchFromGitHub { 20 owner = "moddevices"; 21 repo = "lv2bm"; 22 rev = "v${finalAttrs.version}"; 23 sha256 = "0vlppxfb9zbmffazs1kiyb79py66s8x9hihj36m2vz86zsq7ybl0"; 24 }; 25 26 nativeBuildInputs = [ pkg-config ]; 27 buildInputs = [ 28 glib 29 libsndfile 30 lilv 31 lv2 32 serd 33 sord 34 sratom 35 ]; 36 37 installPhase = '' 38 make install PREFIX=$out 39 ''; 40 41 meta = { 42 homepage = "https://github.com/portalmod/lv2bm"; 43 description = "Benchmark tool for LV2 plugins"; 44 license = lib.licenses.gpl3; 45 maintainers = [ lib.maintainers.magnetophon ]; 46 platforms = lib.platforms.linux; 47 mainProgram = "lv2bm"; 48 }; 49})