diff options
Diffstat (limited to 'pkgs/applications/audio/helvum/default.nix')
-rw-r--r-- | pkgs/applications/audio/helvum/default.nix | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/applications/audio/helvum/default.nix b/pkgs/applications/audio/helvum/default.nix new file mode 100644 index 00000000000..cc98e9fb359 --- /dev/null +++ b/pkgs/applications/audio/helvum/default.nix @@ -0,0 +1,47 @@ +{ lib +, fetchFromGitLab +, makeDesktopItem +, copyDesktopItems +, rustPlatform +, pkg-config +, clang +, libclang +, glib +, gtk4 +, pipewire +}: + +rustPlatform.buildRustPackage rec { + pname = "helvum"; + version = "0.2.1"; + + src = fetchFromGitLab { + domain = "gitlab.freedesktop.org"; + owner = "ryuukyu"; + repo = pname; + rev = version; + sha256 = "sha256-ZnpdGXK8N8c/s4qC2NXcn0Pdqrqr47iOWvVwXD9pn1A="; + }; + + cargoSha256 = "sha256-2v2L20rUWftXdhhuE3wiRrDIuSg6VFxfpWYMRaMUyTU="; + + nativeBuildInputs = [ clang copyDesktopItems pkg-config ]; + buildInputs = [ glib gtk4 pipewire ]; + + LIBCLANG_PATH = "${libclang.lib}/lib"; + + desktopItems = makeDesktopItem { + name = "Helvum"; + exec = pname; + desktopName = "Helvum"; + genericName = "Helvum"; + categories = "AudioVideo;"; + }; + + meta = with lib; { + description = "A GTK patchbay for pipewire"; + homepage = "https://gitlab.freedesktop.org/ryuukyu/helvum"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ fufexan ]; + }; +} |