nixpkgs-suyu/pkgs/desktops/mate/mate-media/default.nix

37 lines
870 B
Nix
Raw Normal View History

2017-11-29 00:18:20 +01:00
{ stdenv, fetchurl, pkgconfig, intltool, libtool, libxml2, libcanberra_gtk3, gnome3, mate, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "mate-media-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
2017-12-24 02:57:27 +01:00
minor-ver = "2";
2017-11-29 00:18:20 +01:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
2017-12-24 02:57:27 +01:00
sha256 = "07v37jvrl8m5rhlasrdziwy15gcpn561d7zn5q1yfla2d5ddy0b1";
2017-11-29 00:18:20 +01:00
};
buildInputs = [
libxml2
libcanberra_gtk3
gnome3.gtk
mate.libmatemixer
mate.mate-desktop
];
nativeBuildInputs = [
pkgconfig
intltool
libtool
wrapGAppsHook
];
meta = with stdenv.lib; {
description = "Media tools for MATE";
homepage = http://mate-desktop.org;
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = [ maintainers.romildo maintainers.chpatrick ];
};
}