depot/third_party/nixpkgs/pkgs/applications/audio/pamix/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

30 lines
748 B
Nix

{ lib, stdenv, fetchFromGitHub
, pkgconfig, cmake
, libpulseaudio, ncurses }:
stdenv.mkDerivation rec {
pname = "pamix";
version = "1.6";
src = fetchFromGitHub {
owner = "patroclos";
repo = "pamix";
rev = version;
sha256 = "1d44ggnwkf2gff62959pj45v3a2k091q8v154wc5pmzamam458wp";
};
preConfigure = ''
substituteInPlace CMakeLists.txt --replace "/etc" "$out/etc/xdg"
'';
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libpulseaudio ncurses ];
meta = with lib; {
description = "Pulseaudio terminal mixer";
homepage = "https://github.com/patroclos/PAmix";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ ericsagnes ];
};
}