mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
22 lines
565 B
Nix
22 lines
565 B
Nix
{ 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 ];
|
|
}
|