nixpkgs/pkgs/by-name/lv/lvtk/package.nix

55 lines
918 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
boost,
gtkmm2,
lv2,
pkg-config,
python3,
meson,
pugl,
ninja,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "lvtk";
version = "1.2.0-unstable-2024-11-06";
src = fetchFromGitHub {
owner = "lvtk";
repo = "lvtk";
rev = "0797fdcabef84f57b064c7b4507743afebc66589";
hash = "sha256-Z79zy2/OZTO6RTrAqgTHTzB00LtFTFiJ272RvQRpbH8=";
};
nativeBuildInputs = [
pkg-config
python3
meson
ninja
];
buildInputs = [
boost
gtkmm2
lv2
pugl
];
enableParallelBuilding = true;
meta = {
description = "Set C++ wrappers around the LV2 C API";
mainProgram = "ttl2c";
homepage = "https://lvtk.org/";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ bot-wxt1221 ];
platforms = lib.platforms.unix;
badPlatforms = [
"x86_64-darwin"
"aarch64-darwin"
];
};
})