169678df56
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.20.1 with grep in /nix/store/11ay5byrlalp3z70d2nn3byf9i99m12p-libmatemixer-1.20.1 - directory tree listing: https://gist.github.com/6de4fa8f22cf5e05683ba4f03784a1f0 - du listing: https://gist.github.com/f63fa290542df670f00cabe5c6a7c5ca
31 lines
967 B
Nix
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.20.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "00p67mi0flsbgn15qpwq60rzf917s5islbmhirbvz6npcvv0d493";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|