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