nixpkgs/pkgs/applications/audio/jackmix/default.nix
ajs124 5949927de4 jackmix: 0.5.2 -> 0.6.0
also qt4 -> qt5
2020-10-30 16:05:46 +01:00

36 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;
};
}