libcardiacarrest: init at 11.0-6
This commit is contained in:
parent
82c6426916
commit
0b60cb9310
48
pkgs/misc/libcardiacarrest/default.nix
Normal file
48
pkgs/misc/libcardiacarrest/default.nix
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, pkgconfig, glib, libpulseaudio }:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libcardiacarrest-${version}";
|
||||||
|
version = "11.0-6"; # <PA API version>-<version>
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "oxij";
|
||||||
|
repo = "libcardiacarrest";
|
||||||
|
rev = "1220b37b3de75238fedee1a66ca703fe1c8c71c3";
|
||||||
|
sha256 = "0fkfiixjybac3rwcd26621hh5dw4f5gnmm230cr4g8fl0i2ikmrz";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
buildInputs = [ glib ];
|
||||||
|
|
||||||
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
moveToOutput $out/include $dev
|
||||||
|
moveToOutput $out/lib/pkgconfig $dev
|
||||||
|
moveToOutput $out/lib/cmake $dev
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = src.meta // {
|
||||||
|
description = "A trivial implementation of libpulse PulseAudio library API";
|
||||||
|
longDescription = ''
|
||||||
|
libcardiacarrest is a trivial implementation of libpulse
|
||||||
|
PulseAudio library API that unconditionally (but gracefully)
|
||||||
|
fails to connect to the PulseAudio daemon and does nothing else.
|
||||||
|
|
||||||
|
apulse and pressureaudio (which uses apulse internally) are an
|
||||||
|
inspiration for this but unlike those two projects
|
||||||
|
libcardiacarrest is not an emulation layer, all it does is it
|
||||||
|
gracefully fails to provide the requested PulseAudio service
|
||||||
|
hoping the application would try something else (e.g. ALSA or
|
||||||
|
JACK).
|
||||||
|
'';
|
||||||
|
license = libpulseaudio.meta.license; # "same as PA headers"
|
||||||
|
maintainers = [ maintainers.oxij ]; # also the author
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -502,6 +502,8 @@ with pkgs;
|
|||||||
|
|
||||||
libpressureaudio = callPackage ../misc/apulse/pressureaudio.nix { };
|
libpressureaudio = callPackage ../misc/apulse/pressureaudio.nix { };
|
||||||
|
|
||||||
|
libcardiacarrest = callPackage ../misc/libcardiacarrest { };
|
||||||
|
|
||||||
archivemount = callPackage ../tools/filesystems/archivemount { };
|
archivemount = callPackage ../tools/filesystems/archivemount { };
|
||||||
|
|
||||||
arandr = callPackage ../tools/X11/arandr { };
|
arandr = callPackage ../tools/X11/arandr { };
|
||||||
|
Loading…
Reference in New Issue
Block a user