about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libxmp/default.nix
blob: 1cd4e5aa03a983dc3f71eca585d63ded78c0d38d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "libxmp";
  version = "4.6.0";

  meta = with lib; {
    description = "Extended module player library";
    homepage    = "https://xmp.sourceforge.net/";
    longDescription = ''
      Libxmp is a library that renders module files to PCM data. It supports
      over 90 mainstream and obscure module formats including Protracker (MOD),
      Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT).
    '';
    license     = licenses.lgpl21Plus;
    platforms   = platforms.all;
  };

  src = fetchurl {
    url = "mirror://sourceforge/xmp/libxmp/${pname}-${version}.tar.gz";
    sha256 = "sha256-LTxF/lI7UJB+ieYPmjt/TMmquD7J27p3Q+r/vNyzXqY=";
  };
}