2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook
|
2021-06-28 23:13:55 +00:00
|
|
|
, alsa-lib, ladspa-sdk, lash, libarchive, libjack2, liblo, libpulseaudio, libsndfile, lrdf
|
2020-09-25 04:45:31 +00:00
|
|
|
, qtbase, qttools, qtxmlpatterns
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "hydrogen";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "1.2.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hydrogen-music";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-01-25 14:12:00 +00:00
|
|
|
sha256 = "sha256-7dgckFscyms+HW3xrsr3+lMua/H82U2jLkm/OKw3YWE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
2021-06-28 23:13:55 +00:00
|
|
|
alsa-lib ladspa-sdk lash libarchive libjack2 liblo libpulseaudio libsndfile lrdf
|
2020-09-25 04:45:31 +00:00
|
|
|
qtbase qttools qtxmlpatterns
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DWANT_DEBUG=OFF"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Advanced drum machine";
|
|
|
|
homepage = "http://www.hydrogen-music.org";
|
2021-04-25 03:57:28 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
2024-07-27 06:49:29 +00:00
|
|
|
maintainers = with maintainers; [ orivej ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|