Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 58 lines 1.2 kB view raw
1{ 2 mkDerivation, 3 lib, 4 fetchFromGitHub, 5 pkg-config, 6 scons, 7 qtbase, 8 lash, 9 libjack2, 10 jack ? libjack2, 11 alsa-lib, 12 fetchpatch, 13}: 14 15mkDerivation rec { 16 pname = "jackmix"; 17 version = "0.6.0"; 18 19 src = fetchFromGitHub { 20 owner = "kampfschlaefer"; 21 repo = "jackmix"; 22 rev = version; 23 sha256 = "0p59411vk38lccn24r7nih10jpgg9i46yc26zpc3x13amxwwpd4h"; 24 }; 25 26 patches = [ 27 ./no_error.patch 28 (fetchpatch { 29 name = "sconstruct-python3.patch"; 30 url = "https://github.com/kampfschlaefer/jackmix/commit/3a0c868b267728fdbc69cc3dc1941edac27d97f6.patch"; 31 hash = "sha256-MLgxIiZ0+C1IVEci9Q347DR+SJUlPG2N3iPvuhRptJU="; 32 }) 33 ]; 34 35 nativeBuildInputs = [ 36 scons 37 pkg-config 38 ]; 39 buildInputs = [ 40 qtbase 41 lash 42 jack 43 alsa-lib 44 ]; 45 46 installPhase = '' 47 install -D jackmix/jackmix $out/bin/jackmix 48 ''; 49 50 meta = with lib; { 51 description = "Matrix-Mixer for the Jack-Audio-connection-Kit"; 52 mainProgram = "jackmix"; 53 homepage = "https://github.com/kampfschlaefer/jackmix"; 54 license = licenses.gpl2Only; 55 maintainers = with maintainers; [ kampfschlaefer ]; 56 platforms = platforms.linux; 57 }; 58}