Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 55 lines 1.0 kB view raw
1{ 2 stdenv, 3 lib, 4 fetchFromSourcehut, 5 pkg-config, 6 meson, 7 ninja, 8 lv2, 9 lilv, 10 curl, 11 elfutils, 12 xorg, 13}: 14 15stdenv.mkDerivation (finalAttrs: { 16 pname = "lv2lint"; 17 version = "0.16.2"; 18 19 src = fetchFromSourcehut { 20 domain = "open-music-kontrollers.ch"; 21 owner = "~hp"; 22 repo = "lv2lint"; 23 rev = finalAttrs.version; 24 hash = "sha256-NkzbKteLZ+P+Py+CMOYYipvu6psDslWnM1MAV1XB0TM="; 25 }; 26 27 nativeBuildInputs = [ 28 pkg-config 29 meson 30 ninja 31 ]; 32 33 buildInputs = [ 34 lv2 35 lilv 36 curl 37 elfutils 38 xorg.libX11 39 ]; 40 41 mesonFlags = [ 42 (lib.mesonEnable "online-tests" true) 43 (lib.mesonEnable "elf-tests" true) 44 (lib.mesonEnable "x11-tests" true) 45 ]; 46 47 meta = with lib; { 48 description = "Check whether a given LV2 plugin is up to the specification"; 49 homepage = "https://git.open-music-kontrollers.ch/~hp/lv2lint"; 50 license = licenses.artistic2; 51 maintainers = [ maintainers.magnetophon ]; 52 platforms = platforms.linux; 53 mainProgram = "lv2lint"; 54 }; 55})