mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 15:41:40 +00:00
4acb425c39
cjdns: https://hydra.nixos.org/build/61134279 jonprl: https://hydra.nixos.org/build/61123711 mate.libmatemixer: https://hydra.nixos.org/build/61126968 dirac: https://hydra.nixos.org/build/61132432 idnkit: https://hydra.nixos.org/build/61123544 trousers: https://hydra.nixos.org/build/61109766 packetdrill: https://hydra.nixos.org/build/61116190 osm2pgsql: https://hydra.nixos.org/build/61118017 nawk: https://hydra.nixos.org/build/61139000
34 lines
1,007 B
Nix
34 lines
1,007 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, glib
|
|
, alsaSupport ? stdenv.isLinux, alsaLib
|
|
, pulseaudioSupport ? stdenv.config.pulseaudio or true, libpulseaudio
|
|
, ossSupport ? false
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libmatemixer-${version}";
|
|
version = "${major-ver}.${minor-ver}";
|
|
major-ver = "1.18";
|
|
minor-ver = "0";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
|
|
sha256 = "09vyxnlnalws318gsafdfi5c6jwpp92pbafn1ddlqqds23ihk4mr";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|