27 lines
666 B
Nix
27 lines
666 B
Nix
{ stdenv, fetchFromGitHub, alsaLib, cmake, pkgconfig, glib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "apulse-${version}";
|
|
version = "0.1.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "i-rinat";
|
|
repo = "apulse";
|
|
rev = "v${version}";
|
|
sha256 = "16l278q0czca2794fj388ql6qn1zrw24a0p6k7bayrrf5h32fdzd";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
buildInputs = [ alsaLib glib ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "PulseAudio emulation for ALSA";
|
|
homepage = https://github.com/i-rinat/apulse;
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.jagajaga ];
|
|
};
|
|
}
|