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

22 lines
565 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, alsa-lib, libxmp }:
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
meta = with lib; {
2014-06-10 04:03:13 +00:00
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";
2018-01-28 14:21:53 +00:00
sha256 = "17i8fc7x7yn3z1x963xp9iv108gxfakxmdgmpv3mlm438w3n3g8x";
2014-06-10 04:03:13 +00:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ alsa-lib libxmp ];
2014-06-10 04:03:13 +00:00
}