nixpkgs-suyu/pkgs/desktops/mate/libmatemixer/default.nix
R. RyanTM f62882f5b8 mate.libmatemixer: 1.20.1 -> 1.21.0 (#43192)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/libmatemixer/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 1.21.0 with grep in /nix/store/rf6swqf4zz4aqbis00vmga92jz30lnqz-libmatemixer-1.21.0
- directory tree listing: https://gist.github.com/26d3098e20c8910a026178b4deba670a
- du listing: https://gist.github.com/e928bc54962d0f4e091f69990262af22
2018-07-14 20:49:34 +02:00

31 lines
967 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, glib, mate
, alsaSupport ? stdenv.isLinux, alsaLib
, pulseaudioSupport ? stdenv.config.pulseaudio or true, libpulseaudio
, ossSupport ? false
}:
stdenv.mkDerivation rec {
name = "libmatemixer-${version}";
version = "1.21.0";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "1376x3rlisrc6hsz6yzi637msplmacxryyqnrsgfc580knp1nrvm";
};
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ glib ]
++ stdenv.lib.optional alsaSupport alsaLib
++ stdenv.lib.optional pulseaudioSupport libpulseaudio;
configureFlags = stdenv.lib.optional ossSupport "--enable-oss";
meta = with stdenv.lib; {
description = "Mixer library for MATE";
homepage = https://github.com/mate-desktop/libmatemixer;
license = with licenses; [ gpl2 lgpl2 ];
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}