Merge pull request #2882 from iyzsong/n/xmp
add xmp, a extended module player
This commit is contained in:
commit
1dbc7c4567
20
pkgs/applications/audio/xmp/default.nix
Normal file
20
pkgs/applications/audio/xmp/default.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ stdenv, fetchurl, pkgconfig, alsaLib, libxmp }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "xmp-4.0.7";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Extended module player";
|
||||||
|
homepage = "http://xmp.sourceforge.net/";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ iyzsong ];
|
||||||
|
};
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/xmp/xmp/${name}.tar.gz";
|
||||||
|
sha256 = "0qgzzaxhshz5l7s21x89xb43pbbi0zap6a4lk4s7gjp1qca2agcw";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pkgconfig alsaLib libxmp ];
|
||||||
|
}
|
23
pkgs/development/libraries/libxmp/default.nix
Normal file
23
pkgs/development/libraries/libxmp/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libxmp-4.2.7";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Extended module player library";
|
||||||
|
homepage = "http://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.linux;
|
||||||
|
maintainers = with maintainers; [ iyzsong ];
|
||||||
|
};
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/xmp/libxmp/${name}.tar.gz";
|
||||||
|
sha256 = "1isv8498869w8wc18lagi1p40z4blx684r21j9cligkfyrmri536";
|
||||||
|
};
|
||||||
|
}
|
@ -5491,6 +5491,8 @@ let
|
|||||||
|
|
||||||
libxmlxx = callPackage ../development/libraries/libxmlxx { };
|
libxmlxx = callPackage ../development/libraries/libxmlxx { };
|
||||||
|
|
||||||
|
libxmp = callPackage ../development/libraries/libxmp { };
|
||||||
|
|
||||||
libxslt = callPackage ../development/libraries/libxslt { };
|
libxslt = callPackage ../development/libraries/libxslt { };
|
||||||
|
|
||||||
libixp_for_wmii = lowPrio (import ../development/libraries/libixp_for_wmii {
|
libixp_for_wmii = lowPrio (import ../development/libraries/libixp_for_wmii {
|
||||||
@ -9891,6 +9893,8 @@ let
|
|||||||
|
|
||||||
xmove = callPackage ../applications/misc/xmove { };
|
xmove = callPackage ../applications/misc/xmove { };
|
||||||
|
|
||||||
|
xmp = callPackage ../applications/audio/xmp { };
|
||||||
|
|
||||||
xnee = callPackage ../tools/X11/xnee {
|
xnee = callPackage ../tools/X11/xnee {
|
||||||
# Work around "missing separator" error.
|
# Work around "missing separator" error.
|
||||||
stdenv = overrideInStdenv stdenv [ gnumake381 ];
|
stdenv = overrideInStdenv stdenv [ gnumake381 ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user