summary refs log tree commit diff
path: root/pkgs/applications/audio/xmp/default.nix
blob: 5f99555d376c4ff43fac28b8aa20ab977ecf8318 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, stdenv, fetchurl, pkg-config, alsa-lib, libxmp }:

stdenv.mkDerivation rec {
  pname = "xmp";
  version = "4.1.0";

  meta = with lib; {
    description = "Extended module player";
    homepage    = "http://xmp.sourceforge.net/";
    license     = licenses.gpl2Plus;
    platforms   = platforms.linux;
  };

  src = fetchurl {
    url = "mirror://sourceforge/${pname}/${pname}/${pname}-${version}.tar.gz";
    sha256 = "17i8fc7x7yn3z1x963xp9iv108gxfakxmdgmpv3mlm438w3n3g8x";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ alsa-lib libxmp ];
}