Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 autoreconfHook, 6 pkg-config, 7 libvlc, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "libvlcpp"; 12 version = "0.1.0-unstable-2024-02-04"; 13 14 src = fetchFromGitLab { 15 domain = "code.videolan.org"; 16 owner = "videolan"; 17 repo = "libvlcpp"; 18 rev = "44c1f48e56a66c3f418175af1e1ef3fd1ab1b118"; 19 hash = "sha256-nnS4DMz/2VciCrhOBGRb1+kDbxj+ZOnEtQmzs/TJ870="; 20 }; 21 22 nativeBuildInputs = [ 23 pkg-config 24 autoreconfHook 25 ]; 26 27 propagatedBuildInputs = [ 28 libvlc 29 ]; 30 31 doCheck = true; 32 33 meta = { 34 description = "Header-only C++ bindings for the libvlc crossplatform multimedia API"; 35 homepage = "https://code.videolan.org/videolan/libvlcpp"; 36 maintainers = with lib.maintainers; [ l33tname ]; 37 platforms = lib.platforms.all; 38 license = lib.licenses.lgpl21Only; 39 }; 40})