1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/pkgs/desktops/mate/mate-media/default.nix

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

60 lines
1.1 KiB
Nix
Raw Permalink Normal View History

2022-07-12 12:56:56 +01:00
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, libtool
, gtk-layer-shell
2022-07-12 12:56:56 +01:00
, gtk3
, libcanberra-gtk3
, libmatemixer
, libxml2
, mate-desktop
, mate-panel
, wayland
, wrapGAppsHook3
2022-07-12 12:56:56 +01:00
, mateUpdateScript
}:
2017-11-28 23:18:20 +00:00
stdenv.mkDerivation rec {
pname = "mate-media";
version = "1.28.1";
2017-11-28 23:18:20 +00:00
src = fetchurl {
2021-01-15 13:21:58 +00:00
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "vNwQLiL2P1XmMWbVxwjpHBE1cOajCodDRaiGCeg6mRI=";
2017-11-28 23:18:20 +00:00
};
nativeBuildInputs = [
2021-01-17 02:21:50 +00:00
pkg-config
gettext
2017-11-28 23:18:20 +00:00
libtool
wrapGAppsHook3
2017-11-28 23:18:20 +00:00
];
buildInputs = [
gtk-layer-shell
gtk3
libcanberra-gtk3
libmatemixer
libxml2
mate-desktop
mate-panel
wayland
];
configureFlags = [ "--enable-in-process" ];
2020-02-14 21:52:51 +00:00
enableParallelBuilding = true;
passthru.updateScript = mateUpdateScript { inherit pname; };
2021-04-02 20:58:16 +01:00
meta = with lib; {
2017-11-28 23:18:20 +00:00
description = "Media tools for MATE";
2020-02-12 17:51:20 +00:00
homepage = "https://mate-desktop.org";
2021-04-22 14:23:43 +01:00
license = licenses.gpl2Plus;
2017-11-28 23:18:20 +00:00
platforms = platforms.unix;
maintainers = teams.mate.members ++ (with maintainers; [ chpatrick ]);
2017-11-28 23:18:20 +00:00
};
}