2014-11-18 19:35:33 +00:00
|
|
|
{ stdenv, fetchFromGitHub, alsaLib, cmake, pkgconfig, glib }:
|
2014-10-12 12:09:49 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "apulse-${version}";
|
2017-09-23 14:35:21 +01:00
|
|
|
version = "0.1.10";
|
2014-10-12 12:09:49 +01:00
|
|
|
|
2014-11-18 19:35:33 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "i-rinat";
|
|
|
|
repo = "apulse";
|
|
|
|
rev = "v${version}";
|
2017-09-23 14:35:21 +01:00
|
|
|
sha256 = "018gaxn647wz1vjbr49hfrch9svnv0d1nzijc8ckb4fsr8vv95a1";
|
2014-10-12 12:09:49 +01:00
|
|
|
};
|
|
|
|
|
2017-09-23 14:35:21 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ alsaLib glib ];
|
2014-10-12 12:09:49 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "PulseAudio emulation for ALSA";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://github.com/i-rinat/apulse;
|
2014-10-12 12:09:49 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.jagajaga ];
|
|
|
|
};
|
|
|
|
}
|