nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 boost,
6 gtkmm2,
7 lv2,
8 pkg-config,
9 python3,
10 meson,
11 pugl,
12 ninja,
13}:
14
15stdenv.mkDerivation (finalAttrs: {
16 pname = "lvtk";
17 version = "1.2.0-unstable-2024-11-06";
18
19 src = fetchFromGitHub {
20 owner = "lvtk";
21 repo = "lvtk";
22 rev = "0797fdcabef84f57b064c7b4507743afebc66589";
23 hash = "sha256-Z79zy2/OZTO6RTrAqgTHTzB00LtFTFiJ272RvQRpbH8=";
24 };
25
26 nativeBuildInputs = [
27 pkg-config
28 python3
29 meson
30 ninja
31 ];
32
33 buildInputs = [
34 boost
35 gtkmm2
36 lv2
37 pugl
38 ];
39
40 postInstall = ''
41 mv $out/include/lvtk-3.0/lvtk $out/include/
42 rmdir $out/include/lvtk-3.0/
43 '';
44
45 enableParallelBuilding = true;
46
47 meta = {
48 description = "Set C++ wrappers around the LV2 C API";
49 homepage = "https://lvtk.org/";
50 license = lib.licenses.gpl3;
51 maintainers = with lib.maintainers; [ bot-wxt1221 ];
52 platforms = lib.platforms.unix;
53 badPlatforms = [
54 "x86_64-darwin"
55 "aarch64-darwin"
56 ];
57 };
58})