depot/third_party/nixpkgs/pkgs/development/libraries/audio/libopenmpt-modplug/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

42 lines
837 B
Nix

{ stdenv
, lib
, fetchurl
, autoreconfHook
, pkg-config
, libopenmpt
}:
stdenv.mkDerivation rec {
pname = "libopenmpt-modplug";
version = "0.8.9.0-openmpt1";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "https://lib.openmpt.org/files/libopenmpt-modplug/libopenmpt-modplug-${version}.tar.gz";
sha256 = "sha256-7M4aDuz9sLWCTKuJwnDc5ZWWKVosF8KwQyFez018T/c=";
};
enableParallelBuilding = true;
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libopenmpt
];
configureFlags = [
"--enable-libmodplug"
];
meta = with lib; {
description = "Libmodplug emulation layer based on libopenmpt";
homepage = "https://lib.openmpt.org/libopenmpt/";
license = licenses.bsd3;
maintainers = with maintainers; [ OPNA2608 ];
platforms = platforms.unix;
};
}