3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/helvum/default.nix

48 lines
1,021 B
Nix
Raw Normal View History

2021-05-24 16:55:41 +01:00
{ lib
, fetchFromGitLab
2021-06-03 15:20:48 +01:00
, makeDesktopItem
, copyDesktopItems
2021-05-24 16:55:41 +01:00
, rustPlatform
, pkg-config
, clang
, libclang
, glib
, gtk4
, pipewire
}:
rustPlatform.buildRustPackage rec {
pname = "helvum";
2021-10-21 18:45:30 +01:00
version = "0.3.1";
2021-05-24 16:55:41 +01:00
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "ryuukyu";
repo = pname;
rev = version;
2021-10-21 18:45:30 +01:00
sha256 = "sha256-f6+6Qicg5J6oWcafG4DF0HovTmF4r6yfw6p/3dJHmB4=";
2021-05-24 16:55:41 +01:00
};
2021-10-21 18:45:30 +01:00
cargoSha256 = "sha256-zGa6nAmOOrpiMr865J06Ez3L6lPL0j18/lW8lw1jPyU=";
2021-05-24 16:55:41 +01:00
2021-06-03 15:20:48 +01:00
nativeBuildInputs = [ clang copyDesktopItems pkg-config ];
2021-05-24 16:55:41 +01:00
buildInputs = [ glib gtk4 pipewire ];
LIBCLANG_PATH = "${libclang.lib}/lib";
2021-06-03 15:20:48 +01:00
desktopItems = makeDesktopItem {
name = "Helvum";
exec = pname;
desktopName = "Helvum";
genericName = "Helvum";
categories = "AudioVideo;";
};
2021-05-24 16:55:41 +01:00
meta = with lib; {
description = "A GTK patchbay for pipewire";
homepage = "https://gitlab.freedesktop.org/ryuukyu/helvum";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fufexan ];
};
}