2015-03-11 16:10:31 +00:00
|
|
|
{ stdenv, fetchgit, pkgconfig, libX11, libXpm, libXext, alsaLib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "alsamixer.app-0.2.1";
|
|
|
|
src = fetchgit {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "git://repo.or.cz/dockapps.git";
|
2015-03-11 16:10:31 +00:00
|
|
|
rev = "38c74350b02f35824554ce0c4f0f251d71762040";
|
|
|
|
sha256 = "0g9cwhlqg065fbhav4g4n16a4cqkk9jykl3y0zwbn5whhacfqyhl";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libX11 libXpm libXext alsaLib ];
|
2015-03-11 16:10:31 +00:00
|
|
|
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/AlsaMixer.app";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -pv $out/bin;
|
|
|
|
cp AlsaMixer.app $out/bin/AlsaMixer;
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Alsa mixer application for Windowmaker";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://windowmaker.org/dockapps/?name=AlsaMixer.app";
|
2015-03-11 16:10:31 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bstrik ];
|
|
|
|
};
|
|
|
|
}
|