nixpkgs/pkgs/applications/audio/xmp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
688 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, alsa-lib, libxmp, AudioUnit, CoreAudio }:
2014-06-10 04:03:13 +00:00
stdenv.mkDerivation rec {
pname = "xmp";
version = "4.1.0";
2014-06-10 04:03:13 +00:00
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}/${pname}-${version}.tar.gz";
2018-01-28 14:21:53 +00:00
sha256 = "17i8fc7x7yn3z1x963xp9iv108gxfakxmdgmpv3mlm438w3n3g8x";
2014-06-10 04:03:13 +00:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libxmp ]
++ lib.optionals stdenv.isLinux [ alsa-lib ]
++ lib.optionals stdenv.isDarwin [ AudioUnit CoreAudio ];
2023-04-13 07:56:11 +00:00
meta = with lib; {
description = "Extended module player";
homepage = "https://xmp.sourceforge.net/";
license = licenses.gpl2Plus;
platforms = platforms.unix;
};
2014-06-10 04:03:13 +00:00
}