depot/third_party/nixpkgs/pkgs/applications/audio/jackmix/default.nix
Default email 6ae7ad3cc5 Project import generated by Copybara.
GitOrigin-RevId: a322b32e9d74fb476944ff6cfb55833dc69cfaaa
2020-11-19 01:13:47 +01:00

35 lines
867 B
Nix

{ mkDerivation, lib, fetchFromGitHub, pkgconfig, sconsPackages, qtbase, lash, libjack2, jack ? libjack2, alsaLib }:
mkDerivation rec {
pname = "jackmix";
version = "0.6.0";
src = fetchFromGitHub {
owner = "kampfschlaefer";
repo = "jackmix";
rev = version;
sha256 = "0p59411vk38lccn24r7nih10jpgg9i46yc26zpc3x13amxwwpd4h";
};
patches = [ ./no_error.patch ];
nativeBuildInputs = [ sconsPackages.scons_3_1_2 pkgconfig ];
buildInputs = [
qtbase
lash
jack
alsaLib
];
installPhase = ''
install -D jackmix/jackmix $out/bin/jackmix
'';
meta = with lib; {
description = "Matrix-Mixer for the Jack-Audio-connection-Kit";
homepage = "https://github.com/kampfschlaefer/jackmix";
license = licenses.gpl2Only;
maintainers = with maintainers; [ kampfschlaefer ];
platforms = platforms.linux;
};
}