Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / wi / windowmaker / dockapps / AlsaMixer-app.nix
bloba6b78b70b2443ab09560fbd18eff2bc53a4ee07d
1 { lib
2 , stdenv
3 , alsa-lib
4 , dockapps-sources
5 , libX11
6 , libXext
7 , libXpm
8 , pkg-config
9 }:
11 stdenv.mkDerivation (finalAttrs: {
12   pname = "AlsaMixer.app";
14   inherit (dockapps-sources) version src;
16   sourceRoot = "${finalAttrs.src.name}/AlsaMixer.app";
18   nativeBuildInputs = [
19     pkg-config
20   ];
22   buildInputs = [
23     alsa-lib
24     libX11
25     libXpm
26     libXext
27   ];
29   hardeningDisable = [ "fortify" ];
31   dontConfigure = true;
33   installPhase = ''
34     runHook preInstall
35     install -D -t ${placeholder "out"}/bin/ AlsaMixer.app
36     pushd ${placeholder "out"}/bin
37     ln -vs AlsaMixer.app AlsaMixer
38     runHook postInstall
39   '';
41   meta = {
42     description = "Alsa mixer application for Windowmaker";
43     homepage = "https://www.dockapps.net/alsamixerapp";
44     license = lib.licenses.gpl2Plus;
45     maintainers = [ ];
46   };