From b8252a44942cdf2d77c444cc1d8ae00f271dc74a Mon Sep 17 00:00:00 2001 From: Arseniy Seroka Date: Sun, 12 Oct 2014 15:09:49 +0400 Subject: [PATCH] apulse: add pkg Closes #4488 --- lib/maintainers.nix | 1 + pkgs/applications/audio/moc/default.nix | 2 +- pkgs/misc/apulse/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 4 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 pkgs/misc/apulse/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index aedec427ab4..5601143919b 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -67,6 +67,7 @@ ianwookim = "Ian-Woo Kim "; iElectric = "Domen Kozar "; iyzsong = "Song Wenwu "; + jagajaga = "Arseniy Seroka "; jcumming = "Jack Cummings "; jgeerds = "Jascha Geerds "; joamaki = "Jussi Maki "; diff --git a/pkgs/applications/audio/moc/default.nix b/pkgs/applications/audio/moc/default.nix index 9fbf05a2feb..ec9b1dd47ae 100644 --- a/pkgs/applications/audio/moc/default.nix +++ b/pkgs/applications/audio/moc/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { description = "An ncurses console audio player designed to be powerful and easy to use"; homepage = http://moc.daper.net/; license = licenses.gpl2; - maintainers = with maintainers; [ pSub ]; + maintainers = with maintainers; [ pSub jagajaga ]; platforms = platforms.linux; }; } diff --git a/pkgs/misc/apulse/default.nix b/pkgs/misc/apulse/default.nix new file mode 100644 index 00000000000..9ca2cee4796 --- /dev/null +++ b/pkgs/misc/apulse/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, alsaLib, cmake, pkgconfig, glib }: + +stdenv.mkDerivation rec { + name = "apulse-${version}"; + version = "0.1.2"; + + src = fetchurl { + url = "https://github.com/i-rinat/apulse/archive/v${version}.tar.gz"; + sha256 = "02906a8iwwjzzkjvhqqai2yd1636cgz9vl69vwq0vkv2v6cn21ky"; + }; + + buildInputs = + [ alsaLib cmake pkgconfig 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ed276b6156b..becf0e05cae 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -476,6 +476,8 @@ let apt-offline = callPackage ../tools/misc/apt-offline { }; + apulse = callPackage ../misc/apulse { }; + archivemount = callPackage ../tools/filesystems/archivemount { }; arandr = callPackage ../tools/X11/arandr { };