depot/third_party/nixpkgs/pkgs/by-name/li/libvlcpp/package.nix

40 lines
843 B
Nix

{
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;
};
})