2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, cmake
|
|
|
|
, alsa-lib
|
|
|
|
, boost
|
|
|
|
, glib
|
|
|
|
, lash
|
|
|
|
, libjack2
|
|
|
|
, libarchive
|
|
|
|
, libsndfile
|
|
|
|
, lrdf
|
|
|
|
, qt4
|
2020-09-25 04:45:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.9.7";
|
|
|
|
pname = "hydrogen";
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hydrogen-music";
|
|
|
|
repo = "hydrogen";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-6ycNUcumtAEl/6XbIpW6JglGv4nNOdMrOJ1nvJg3z/c=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake ];
|
2020-09-25 04:45:31 +00:00
|
|
|
buildInputs = [
|
2021-12-06 16:07:01 +00:00
|
|
|
alsa-lib
|
|
|
|
boost
|
|
|
|
glib
|
|
|
|
lash
|
|
|
|
libjack2
|
|
|
|
libarchive
|
|
|
|
libsndfile
|
|
|
|
lrdf
|
|
|
|
qt4
|
2020-09-25 04:45:31 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 04:45:31 +00:00
|
|
|
description = "Advanced drum machine";
|
|
|
|
homepage = "http://www.hydrogen-music.org";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
}
|