nixpkgs/pkgs/desktops/mate/mate-media/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

36 lines
854 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, libtool, libxml2, libcanberra-gtk3, gtk3, mate, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "mate-media";
version = "1.22.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "13g1n2ddgr1yxgl4fsqj3sgb9344b756kam9v3sq6vh0bxlr4yf2";
};
buildInputs = [
libxml2
libcanberra-gtk3
gtk3
mate.libmatemixer
mate.mate-panel
mate.mate-desktop
];
nativeBuildInputs = [
pkgconfig
intltool
libtool
wrapGAppsHook
];
meta = with stdenv.lib; {
description = "Media tools for MATE";
homepage = https://mate-desktop.org;
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = [ maintainers.romildo maintainers.chpatrick ];
};
}