1{ lib, stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 pname = "libxmp";
5 version = "4.5.0";
6
7 meta = with lib; {
8 description = "Extended module player library";
9 homepage = "https://xmp.sourceforge.net/";
10 longDescription = ''
11 Libxmp is a library that renders module files to PCM data. It supports
12 over 90 mainstream and obscure module formats including Protracker (MOD),
13 Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT).
14 '';
15 license = licenses.lgpl21Plus;
16 platforms = platforms.all;
17 };
18
19 src = fetchurl {
20 url = "mirror://sourceforge/xmp/libxmp/${pname}-${version}.tar.gz";
21 sha256 = "sha256-eEfSYhEtFOhEL0TlrG7Z3bylTCUShHILVjyFKzHybnU=";
22 };
23}