Merge pull request #225979 from wegank/xmp-cleanup

xmp: minor cleanup
This commit is contained in:
Weijia Wang 2023-04-13 12:20:33 +03:00 committed by GitHub
commit b5d5077e33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 9 deletions

View File

@ -4,13 +4,6 @@ stdenv.mkDerivation rec {
pname = "xmp";
version = "4.1.0";
meta = with lib; {
description = "Extended module player";
homepage = "https://xmp.sourceforge.net/";
license = licenses.gpl2Plus;
platforms = platforms.unix;
};
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}/${pname}-${version}.tar.gz";
sha256 = "17i8fc7x7yn3z1x963xp9iv108gxfakxmdgmpv3mlm438w3n3g8x";
@ -20,4 +13,11 @@ stdenv.mkDerivation rec {
buildInputs = [ libxmp ]
++ lib.optionals stdenv.isLinux [ alsa-lib ]
++ lib.optionals stdenv.isDarwin [ AudioUnit CoreAudio ];
meta = with lib; {
description = "Extended module player";
homepage = "https://xmp.sourceforge.net/";
license = licenses.gpl2Plus;
platforms = platforms.unix;
};
}

View File

@ -35020,8 +35020,7 @@ with pkgs;
};
xmp = callPackage ../applications/audio/xmp {
inherit (darwin.apple_sdk.frameworks) AudioUnit;
inherit (darwin.apple_sdk.frameworks) CoreAudio;
inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio;
};
xnee = callPackage ../tools/X11/xnee { };