ttl2c: init at 1.0.1
This commit is contained in:
parent
844f2a5fff
commit
1b86829256
54
pkgs/by-name/tt/ttl2c/package.nix
Normal file
54
pkgs/by-name/tt/ttl2c/package.nix
Normal file
@ -0,0 +1,54 @@
|
||||
{
|
||||
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"
|
||||
];
|
||||
};
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user