mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
66 lines
1.1 KiB
Nix
66 lines
1.1 KiB
Nix
{ lib
|
|
, cargo
|
|
, clang
|
|
, desktop-file-utils
|
|
, fetchFromGitLab
|
|
, glib
|
|
, gtk4
|
|
, libadwaita
|
|
, meson
|
|
, ninja
|
|
, pipewire
|
|
, pkg-config
|
|
, rustPlatform
|
|
, rustc
|
|
, stdenv
|
|
, wrapGAppsHook4
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "helvum";
|
|
version = "0.5.1";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.freedesktop.org";
|
|
owner = "pipewire";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-9vlzLPpyZ9qtCEbCDvYhWDcV+8T63ukdos1l2U6fD+E=";
|
|
};
|
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
|
inherit src;
|
|
name = "${pname}-${version}";
|
|
hash = "sha256-Xebm3XlsO6kBoMnxJsOk/3SO7avVoaGqi2CVWBRzr88=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
clang
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
rustPlatform.cargoSetupHook
|
|
cargo
|
|
rustc
|
|
rustPlatform.bindgenHook
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
desktop-file-utils
|
|
glib
|
|
gtk4
|
|
libadwaita
|
|
pipewire
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "GTK patchbay for pipewire";
|
|
homepage = "https://gitlab.freedesktop.org/pipewire/helvum";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ fufexan ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "helvum";
|
|
};
|
|
}
|