9c6d255489
GitOrigin-RevId: 8133b9cb5f7c00d4fe31c8c2c4b525bc2650bfc0
39 lines
845 B
Nix
39 lines
845 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, cairo
|
|
, libX11
|
|
, libjack2
|
|
, liblo
|
|
, libsigcxx
|
|
, zita-resampler
|
|
, fftwFloat
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xtuner";
|
|
version = "1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "brummer10";
|
|
repo = "XTuner";
|
|
rev = "v${version}";
|
|
sha256 = "1i5chfnf3hcivwzni9z6cn9pb68qmwsx8bf4z7d29a5vig8kbhrv";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ cairo libX11 libjack2 liblo libsigcxx zita-resampler fftwFloat ];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/brummer10/XTuner";
|
|
description = "Tuner for Jack Audio Connection Kit";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ magnetophon ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|