Skip to content

Commit b1619b6

Browse files
ttl2c: init at 1.0.1 (#371222)
2 parents e518fa2 + 1b86829 commit b1619b6

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

pkgs/by-name/tt/ttl2c/package.nix

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitHub,
5+
boost,
6+
lv2,
7+
python3,
8+
wafHook,
9+
}:
10+
11+
stdenv.mkDerivation (finalAttrs: {
12+
pname = "ttl2c";
13+
version = "1.0.1";
14+
15+
src = fetchFromGitHub {
16+
owner = "lvtk";
17+
repo = "ttl2c";
18+
rev = "b64e425f38399a0d18d1252694d6d6980c800841";
19+
hash = "sha256-Vy3UoMnr9SIMw0pZfyuLjDHf/Gzgn5g3V0fGTIypQyM=";
20+
};
21+
22+
# remove outdated vendored waf
23+
postPatch = ''
24+
rm waf
25+
'';
26+
27+
nativeBuildInputs = [
28+
python3
29+
wafHook
30+
];
31+
32+
buildInputs = [
33+
boost
34+
lv2
35+
];
36+
37+
enableParallelBuilding = true;
38+
39+
meta = {
40+
description = "C header generator for LV2 plugins";
41+
mainProgram = "ttl2c";
42+
homepage = "https://lvtk.org/";
43+
license = lib.licenses.gpl3Plus;
44+
maintainers = with lib.maintainers; [
45+
bot-wxt1221
46+
fliegendewurst
47+
];
48+
platforms = lib.platforms.unix;
49+
badPlatforms = [
50+
"x86_64-darwin"
51+
"aarch64-darwin"
52+
];
53+
};
54+
})

0 commit comments

Comments
 (0)