nixpkgs-suyu/pkgs/applications/audio/sfizz/default.nix

33 lines
776 B
Nix
Raw Normal View History

2020-04-04 14:17:00 +02:00
{ stdenv, fetchFromGitHub , cmake, libjack2, libsndfile, pkgconfig }:
2020-01-19 15:27:45 +01:00
stdenv.mkDerivation rec {
pname = "sfizz";
2020-04-04 14:17:00 +02:00
version = "0.3.2";
2020-01-19 15:27:45 +01:00
src = fetchFromGitHub {
owner = "sfztools";
repo = pname;
2020-04-04 14:17:00 +02:00
rev = version;
sha256 = "1px22x9lb6wyqfbv1jg1sbl1rsnwrzs8sm4dnas1w4ifchiv3ymd";
2020-01-19 15:27:45 +01:00
fetchSubmodules = true;
};
2020-04-04 14:17:00 +02:00
nativeBuildInputs = [ cmake pkgconfig ];
2020-01-19 15:27:45 +01:00
buildInputs = [ libjack2 libsndfile ];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DSFIZZ_TESTS=ON"
];
meta = with stdenv.lib; {
homepage = "https://github.com/sfztools/sfizz";
description = "SFZ jack client and LV2 plugin";
license = licenses.bsd2;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.all;
badPlatforms = platforms.darwin;
};
}