AlsaMixer-app: stay at 0.2.1
This commit is contained in:
parent
04e33d64aa
commit
7a7b4b49d5
2 changed files with 40 additions and 0 deletions
|
@ -0,0 +1,38 @@
|
|||
{ stdenv, dockapps-sources, pkg-config, libX11, libXpm, libXext, alsaLib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "AlsaMixer.app";
|
||||
version = "0.2.1";
|
||||
|
||||
src = dockapps-sources;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libX11 libXpm libXext alsaLib ];
|
||||
|
||||
setSourceRoot = ''
|
||||
export sourceRoot=$(echo */${pname})
|
||||
'';
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
preInstall = ''
|
||||
install -d ${placeholder "out"}/bin
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -t ${placeholder "out"}/bin AlsaMixer.app
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
ln -s ${placeholder "out"}/bin/AlsaMixer.app ${placeholder "out"}/bin/AlsaMixer
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Alsa mixer application for Windowmaker";
|
||||
homepage = "https://www.dockapps.net/alsamixerapp";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.bstrik ];
|
||||
};
|
||||
}
|
|
@ -9,4 +9,6 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||
};
|
||||
|
||||
libdockapp = callPackage ./libdockapp.nix { };
|
||||
|
||||
AlsaMixer-app = callPackage ./AlsaMixer-app.nix { };
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue