depot/pkgs/desktops/mate/mate-media/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

59 lines
1.1 KiB
Nix

{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, libtool
, gtk-layer-shell
, gtk3
, libcanberra-gtk3
, libmatemixer
, libxml2
, mate-desktop
, mate-panel
, wayland
, wrapGAppsHook3
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-media";
version = "1.28.1";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "vNwQLiL2P1XmMWbVxwjpHBE1cOajCodDRaiGCeg6mRI=";
};
nativeBuildInputs = [
pkg-config
gettext
libtool
wrapGAppsHook3
];
buildInputs = [
gtk-layer-shell
gtk3
libcanberra-gtk3
libmatemixer
libxml2
mate-desktop
mate-panel
wayland
];
configureFlags = [ "--enable-in-process" ];
enableParallelBuilding = true;
passthru.updateScript = mateUpdateScript { inherit pname; };
meta = with lib; {
description = "Media tools for MATE";
homepage = "https://mate-desktop.org";
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = teams.mate.members ++ (with maintainers; [ chpatrick ]);
};
}