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