Files
nixpkgs/pkgs/by-name/tt/ttl2c/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

55 lines
918 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
boost,
lv2,
python3,
wafHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ttl2c";
version = "1.0.1";
src = fetchFromGitHub {
owner = "lvtk";
repo = "ttl2c";
rev = "b64e425f38399a0d18d1252694d6d6980c800841";
hash = "sha256-Vy3UoMnr9SIMw0pZfyuLjDHf/Gzgn5g3V0fGTIypQyM=";
};
# remove outdated vendored waf
postPatch = ''
rm waf
'';
nativeBuildInputs = [
python3
wafHook
];
buildInputs = [
boost
lv2
];
enableParallelBuilding = true;
meta = {
description = "C header generator for LV2 plugins";
mainProgram = "ttl2c";
homepage = "https://lvtk.org/";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
bot-wxt1221
fliegendewurst
];
platforms = lib.platforms.unix;
badPlatforms = [
"x86_64-darwin"
"aarch64-darwin"
];
};
})