2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook
|
2021-06-10 04:57:09 +02:00
|
|
|
, alsa-lib, ladspa-sdk, lash, libarchive, libjack2, liblo, libpulseaudio, libsndfile, lrdf
|
2020-09-04 23:56:56 +02:00
|
|
|
, qtbase, qttools, qtxmlpatterns
|
2020-03-23 00:18:53 +01:00
|
|
|
}:
|
2011-04-17 16:23:33 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "hydrogen";
|
2021-12-07 05:19:46 +01:00
|
|
|
version = "1.1.1";
|
2011-04-17 16:23:33 +02:00
|
|
|
|
2020-09-04 23:56:56 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hydrogen-music";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-12-07 05:19:46 +01:00
|
|
|
sha256 = "sha256-to24PB9cs4vun93uXEWNVsmSLFRuLGfC4hCh7+mbvIo=";
|
2011-04-17 16:23:33 +02:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
2017-03-06 00:15:36 +01:00
|
|
|
buildInputs = [
|
2021-06-10 04:57:09 +02:00
|
|
|
alsa-lib ladspa-sdk lash libarchive libjack2 liblo libpulseaudio libsndfile lrdf
|
2020-09-04 23:56:56 +02:00
|
|
|
qtbase qttools qtxmlpatterns
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DWANT_DEBUG=OFF"
|
2011-04-17 16:23:33 +02:00
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2011-04-17 16:23:33 +02:00
|
|
|
description = "Advanced drum machine";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.hydrogen-music.org";
|
2021-04-22 08:48:17 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2011-04-17 16:23:33 +02:00
|
|
|
platforms = platforms.linux;
|
2020-09-04 23:56:56 +02:00
|
|
|
maintainers = with maintainers; [ goibhniu orivej ];
|
2011-04-17 16:23:33 +02:00
|
|
|
};
|
|
|
|
}
|