openmpt123: Add maintainer, 0.5.8 -> 0.5.9
(cherry picked from commit dfc39e61f4223a8be7161b7c94b10a47810e9879)
This commit is contained in:
parent
1dc32d71d5
commit
e5610bf14d
|
@ -1,19 +1,16 @@
|
||||||
{ config, lib, stdenv, fetchurl, zlib, pkg-config, mpg123, libogg, libvorbis, portaudio, libsndfile, flac
|
{ config, lib, stdenv, fetchurl, zlib, pkg-config, mpg123, libogg, libvorbis, portaudio, libsndfile, flac
|
||||||
, usePulseAudio ? config.pulseaudio or false, libpulseaudio }:
|
, usePulseAudio ? config.pulseaudio or false, libpulseaudio }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
version = "0.5.8";
|
|
||||||
in stdenv.mkDerivation {
|
|
||||||
pname = "openmpt123";
|
pname = "openmpt123";
|
||||||
inherit version;
|
version = "0.5.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${version}+release.autotools.tar.gz";
|
url = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${version}+release.autotools.tar.gz";
|
||||||
sha256 = "sha256-KeLCEXS3P2fyul7naAjWLxgrEw5PcE7i2a6Cg5gtis0=";
|
sha256 = "0h86p8mnpm98vc4v6jbvrmm02fch7dnn332i26fg3a2s1738m04d";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
doCheck = true;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ zlib mpg123 libogg libvorbis portaudio libsndfile flac ]
|
buildInputs = [ zlib mpg123 libogg libvorbis portaudio libsndfile flac ]
|
||||||
|
@ -21,11 +18,13 @@ in stdenv.mkDerivation {
|
||||||
|
|
||||||
configureFlags = lib.optional (!usePulseAudio) "--without-pulseaudio";
|
configureFlags = lib.optional (!usePulseAudio) "--without-pulseaudio";
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A cross-platform command-line based module file player";
|
description = "A cross-platform command-line based module file player";
|
||||||
homepage = "https://lib.openmpt.org/libopenmpt/";
|
homepage = "https://lib.openmpt.org/libopenmpt/";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ OPNA2608 ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue