mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
47 lines
878 B
Nix
47 lines
878 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchurl,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
libopenmpt,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libopenmpt-modplug";
|
|
version = "0.8.9.0-openmpt1";
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
];
|
|
|
|
src = fetchurl {
|
|
url = "https://lib.openmpt.org/files/libopenmpt-modplug/libopenmpt-modplug-${finalAttrs.version}.tar.gz";
|
|
sha256 = "sha256-7M4aDuz9sLWCTKuJwnDc5ZWWKVosF8KwQyFez018T/c=";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
libopenmpt
|
|
];
|
|
|
|
configureFlags = [
|
|
"--enable-libmodplug"
|
|
];
|
|
|
|
meta = {
|
|
description = "Libmodplug emulation layer based on libopenmpt";
|
|
homepage = "https://lib.openmpt.org/libopenmpt/";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ OPNA2608 ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|