2021-11-02 11:01:17 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, cmake
|
|
|
|
, alsa-lib
|
|
|
|
, boost
|
|
|
|
, glib
|
|
|
|
, lash
|
|
|
|
, libjack2
|
|
|
|
, libarchive
|
|
|
|
, libsndfile
|
|
|
|
, lrdf
|
|
|
|
, qt4
|
2020-09-04 23:56:56 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.9.7";
|
|
|
|
pname = "hydrogen";
|
|
|
|
|
2021-11-02 11:01:17 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hydrogen-music";
|
|
|
|
repo = "hydrogen";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-6ycNUcumtAEl/6XbIpW6JglGv4nNOdMrOJ1nvJg3z/c=";
|
2020-09-04 23:56:56 +02:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config cmake ];
|
2020-09-04 23:56:56 +02:00
|
|
|
buildInputs = [
|
2021-11-02 11:01:17 +01:00
|
|
|
alsa-lib
|
|
|
|
boost
|
|
|
|
glib
|
|
|
|
lash
|
|
|
|
libjack2
|
|
|
|
libarchive
|
|
|
|
libsndfile
|
|
|
|
lrdf
|
|
|
|
qt4
|
2020-09-04 23:56:56 +02:00
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-09-04 23:56:56 +02:00
|
|
|
description = "Advanced drum machine";
|
|
|
|
homepage = "http://www.hydrogen-music.org";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
}
|