mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
d35049c707
Keep 0.9.7 as hydrogen_0 because 1.0.1 does not offer smooth transition for projects using the old default GMKit.
35 lines
915 B
Nix
35 lines
915 B
Nix
{ stdenv, fetchFromGitHub, cmake, pkgconfig, wrapQtAppsHook
|
|
, alsaLib, ladspa-sdk, lash, libarchive, libjack2, liblo, libpulseaudio, libsndfile, lrdf
|
|
, qtbase, qttools, qtxmlpatterns
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hydrogen";
|
|
version = "1.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hydrogen-music";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0snljpvbcgikhz610c325dgvayi0k512p3bglck9vvi90wsqx7l1";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
|
|
buildInputs = [
|
|
alsaLib ladspa-sdk lash libarchive libjack2 liblo libpulseaudio libsndfile lrdf
|
|
qtbase qttools qtxmlpatterns
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DWANT_DEBUG=OFF"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Advanced drum machine";
|
|
homepage = "http://www.hydrogen-music.org";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ goibhniu orivej ];
|
|
};
|
|
}
|