nixpkgs/pkgs/applications/audio/helvum/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

61 lines
1.1 KiB
Nix
Raw Normal View History

2021-05-24 18:55:41 +03:00
{ lib
, clang
, desktop-file-utils
, fetchFromGitLab
, fetchpatch
2021-05-24 18:55:41 +03:00
, glib
, gtk4
, libclang
, meson
, ninja
2021-05-24 18:55:41 +03:00
, pipewire
, pkg-config
, rustPlatform
, stdenv
2021-05-24 18:55:41 +03:00
}:
stdenv.mkDerivation rec {
2021-05-24 18:55:41 +03:00
pname = "helvum";
2023-02-13 17:09:09 +03:00
version = "0.4.0";
2021-05-24 18:55:41 +03:00
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
2022-02-12 14:00:56 +03:00
owner = "pipewire";
2021-05-24 18:55:41 +03:00
repo = pname;
rev = version;
2023-02-13 17:09:09 +03:00
hash = "sha256-TvjO7fGobGmAltVHeXWyMtMLANdVWVGvBYq20JD3mMI=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
2023-02-13 17:09:09 +03:00
hash = "sha256-W5Imlut30cjV4A6TCjBFLbViB0CDUucNsvIUiCXqu7I=";
2021-05-24 18:55:41 +03:00
};
nativeBuildInputs = [
clang
meson
ninja
pkg-config
rustPlatform.cargoSetupHook
rustPlatform.rust.cargo
rustPlatform.rust.rustc
2022-02-13 15:00:00 +03:00
rustPlatform.bindgenHook
];
2021-05-24 18:55:41 +03:00
buildInputs = [
desktop-file-utils
glib
gtk4
pipewire
];
2021-05-24 18:55:41 +03:00
meta = with lib; {
description = "A GTK patchbay for pipewire";
2022-02-12 14:00:56 +03:00
homepage = "https://gitlab.freedesktop.org/pipewire/helvum";
2021-05-24 18:55:41 +03:00
license = licenses.gpl3Only;
maintainers = with maintainers; [ fufexan ];
2021-12-24 09:06:21 +03:00
platforms = platforms.linux;
2021-05-24 18:55:41 +03:00
};
}