diff --git a/pkgs/by-name/li/libvlcpp/package.nix b/pkgs/by-name/li/libvlcpp/package.nix new file mode 100644 index 000000000000..5aae8b619233 --- /dev/null +++ b/pkgs/by-name/li/libvlcpp/package.nix @@ -0,0 +1,40 @@ +{ + lib, + stdenv, + fetchFromGitLab, + autoreconfHook, + pkg-config, + libvlc, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "libvlcpp"; + version = "0.1.0-unstable-2024-02-04"; + + src = fetchFromGitLab { + domain = "code.videolan.org"; + owner = "videolan"; + repo = "libvlcpp"; + rev = "44c1f48e56a66c3f418175af1e1ef3fd1ab1b118"; + hash = "sha256-nnS4DMz/2VciCrhOBGRb1+kDbxj+ZOnEtQmzs/TJ870="; + }; + + nativeBuildInputs = [ + pkg-config + autoreconfHook + ]; + + propagatedBuildInputs = [ + libvlc + ]; + + doCheck = true; + + meta = { + description = "Header-only C++ bindings for the libvlc crossplatform multimedia API"; + homepage = "https://code.videolan.org/videolan/libvlcpp"; + maintainers = with lib.maintainers; [ l33tname ]; + platforms = lib.platforms.all; + license = lib.licenses.lgpl21Only; + }; +})