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 17:55:41 +02:00
{ lib
, clang
, desktop-file-utils
, fetchFromGitLab
, fetchpatch
2021-05-24 17:55:41 +02:00
, glib
, gtk4
, libclang
, meson
, ninja
2021-05-24 17:55:41 +02:00
, pipewire
, pkg-config
, rustPlatform
, stdenv
2021-05-24 17:55:41 +02:00
}:
stdenv.mkDerivation rec {
2021-05-24 17:55:41 +02:00
pname = "helvum";
2022-02-12 12:00:56 +01:00
version = "0.3.4";
2021-05-24 17:55:41 +02:00
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
2022-02-12 12:00:56 +01:00
owner = "pipewire";
2021-05-24 17:55:41 +02:00
repo = pname;
rev = version;
2022-02-12 12:00:56 +01:00
sha256 = "0nhv6zw2zzxz2bg2zj32w1brywnm5lv6j3cvmmvwshc389z2k5x1";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
2022-02-12 12:00:56 +01:00
hash = "sha256-EIHO9qVPIXgezfFOaarlTU0an762nFmX1ELbQuAZ7rY";
2021-05-24 17:55:41 +02:00
};
nativeBuildInputs = [
clang
meson
ninja
pkg-config
rustPlatform.cargoSetupHook
rustPlatform.rust.cargo
rustPlatform.rust.rustc
2022-02-13 13:00:00 +01:00
rustPlatform.bindgenHook
];
2021-05-24 17:55:41 +02:00
buildInputs = [
desktop-file-utils
glib
gtk4
pipewire
];
2021-05-24 17:55:41 +02:00
meta = with lib; {
description = "A GTK patchbay for pipewire";
2022-02-12 12:00:56 +01:00
homepage = "https://gitlab.freedesktop.org/pipewire/helvum";
2021-05-24 17:55:41 +02:00
license = licenses.gpl3Only;
maintainers = with maintainers; [ fufexan ];
2021-12-24 07:06:21 +01:00
platforms = platforms.linux;
2021-05-24 17:55:41 +02:00
};
}