diff options
author | Philip Horger <campadrenalin@gmail.com> | 2014-08-24 03:47:29 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2014-08-25 10:03:26 +0200 |
commit | 21a4539698909165b10d54d09dcff09d1a286037 (patch) | |
tree | 22124889ef14af915351086a32a481f8a77ea724 /pkgs/tools/audio | |
parent | ed463b37edcd9674bf88a11cc6c257fe442b1698 (diff) | |
download | nixlib-21a4539698909165b10d54d09dcff09d1a286037.tar nixlib-21a4539698909165b10d54d09dcff09d1a286037.tar.gz nixlib-21a4539698909165b10d54d09dcff09d1a286037.tar.bz2 nixlib-21a4539698909165b10d54d09dcff09d1a286037.tar.lz nixlib-21a4539698909165b10d54d09dcff09d1a286037.tar.xz nixlib-21a4539698909165b10d54d09dcff09d1a286037.tar.zst nixlib-21a4539698909165b10d54d09dcff09d1a286037.zip |
Initial packaging for pnmixer
Diffstat (limited to 'pkgs/tools/audio')
-rw-r--r-- | pkgs/tools/audio/pnmixer/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/audio/pnmixer/default.nix b/pkgs/tools/audio/pnmixer/default.nix new file mode 100644 index 000000000000..e12a0dfc8916 --- /dev/null +++ b/pkgs/tools/audio/pnmixer/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchgit, alsaLib, pkgconfig, gtk3, glibc, autoconf, automake, libnotify, libX11, gettext }: + +stdenv.mkDerivation rec { + name = "pa-applet"; + + src = fetchgit { + url = "git://github.com/nicklan/pnmixer.git"; + rev = "1e09a075c0c63d8b161b13ea92528a798bdb464a"; + sha256 = "15k689xycpc6pvq9vgg9ak92b9sg09dh4yrh83kjcaws63alrzl5"; + }; + + buildInputs = [ + alsaLib pkgconfig gtk3 glibc autoconf automake libnotify libX11 gettext + ]; + + preConfigure = '' + ./autogen.sh + ''; + + # work around a problem related to gtk3 updates + NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; + + postInstall = '' + ''; + + meta = with stdenv.lib; { + description = ""; + license = licenses.gpl3; + maintainers = with maintainers; [ iElectric ]; + platforms = platforms.linux; + }; +} |