8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
34 lines
921 B
Nix
34 lines
921 B
Nix
{ stdenv, fetchFromGitHub, cmake, pkgconfig, wrapQtAppsHook
|
|
, alsaLib, ladspa-sdk, lash, libarchive, libjack2, liblo, libpulseaudio, libsndfile, lrdf
|
|
, qtbase, qttools, qtxmlpatterns
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hydrogen";
|
|
version = "1.0.0-beta2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hydrogen-music";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1s3jrdyjpm92flw9mkkxchnj0wz8nn1y1kifii8ws252iiqjya4a";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
|
|
buildInputs = [
|
|
alsaLib ladspa-sdk lash libarchive libjack2 liblo libpulseaudio libsndfile lrdf
|
|
qtbase qttools qtxmlpatterns
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DWANT_DEBUG=OFF"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Advanced drum machine";
|
|
homepage = "http://www.hydrogen-music.org";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ goibhniu orivej ];
|
|
};
|
|
}
|