forked from Ax9D/pw-viz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
49 lines (43 loc) · 1.28 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "pw-viz"
description = "A simple and elegant, pipewire graph editor"
authors = ["Atri Sarkar <atrisarkar91@gmail.com>"]
version = "0.1.0"
keywords = ["pipewire", "graph", "editor", "audio", "patchbay"]
categories = ["multimedia::audio", "visualization", "gui"]
repository = "https://github.com/Ax9D/pw-viz"
readme = "README.md"
license = "GPL-3.0-only"
edition = "2021"
[dependencies]
pipewire = "0.4.1"
rand = "0.8.4"
log = { version = "0.4.14", features = ["release_max_level_warn"] }
simple_logger = "1.13.0"
natord = "1.0.9"
# egui stuff
eframe = { version = "0.16.0", features = ["persistence"] }
egui = "0.16.0"
egui_nodes = { git = "https://github.com/Ax9D/egui_nodes", rev = "584047e" }
serde = { version = "1", features = ["derive"] }
[profile.release]
lto = true
# nix-cargo-integration focus on Cargo.toml
[package.metadata.nix]
build = true
cCompiler = "clang" # needed to avoid conflict in nix develop shell
runtimeLibs = ["libGL", "xorg.libxcb", "pipewire"]
buildInputs = [
"libGL",
"xorg.libX11",
"xorg.libXcursor",
"xorg.libXrandr",
"xorg.libXi",
"xorg.libxcb",
"pipewire",
"libclang",
"libclang.lib",
]
nativeBuildInputs = ["clang", "pkg-config"]
# needs --impure nix until nix 2.9
env.LIBCLANG_PATH = 'eval "${pkgs.libclang.lib}/lib"'