2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, wrapQtAppsHook
|
2020-09-04 21:56:56 +00: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 14:23:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "hydrogen";
|
2020-09-04 21:56:56 +00:00
|
|
|
version = "1.0.1";
|
2011-04-17 14:23:33 +00:00
|
|
|
|
2020-09-04 21:56:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hydrogen-music";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0snljpvbcgikhz610c325dgvayi0k512p3bglck9vvi90wsqx7l1";
|
2011-04-17 14:23:33 +00:00
|
|
|
};
|
|
|
|
|
2020-09-04 21:56:56 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
|
2017-03-05 23:15:36 +00:00
|
|
|
buildInputs = [
|
2020-09-04 21:56:56 +00:00
|
|
|
alsaLib ladspa-sdk lash libarchive libjack2 liblo libpulseaudio libsndfile lrdf
|
|
|
|
qtbase qttools qtxmlpatterns
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DWANT_DEBUG=OFF"
|
2011-04-17 14:23:33 +00:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2011-04-17 14:23:33 +00:00
|
|
|
description = "Advanced drum machine";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.hydrogen-music.org";
|
2011-04-17 14:23:33 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2020-09-04 21:56:56 +00:00
|
|
|
maintainers = with maintainers; [ goibhniu orivej ];
|
2011-04-17 14:23:33 +00:00
|
|
|
};
|
|
|
|
}
|