mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
35 lines
918 B
Nix
35 lines
918 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook
|
|
, alsaLib, ladspa-sdk, lash, libarchive, libjack2, liblo, libpulseaudio, libsndfile, lrdf
|
|
, qtbase, qttools, qtxmlpatterns
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hydrogen";
|
|
version = "1.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hydrogen-music";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-t3f+T1QTNbuJnWmD+q0yPgQxXPXvl91lZN17pKUVFlo=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
|
buildInputs = [
|
|
alsaLib ladspa-sdk lash libarchive libjack2 liblo libpulseaudio libsndfile lrdf
|
|
qtbase qttools qtxmlpatterns
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DWANT_DEBUG=OFF"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Advanced drum machine";
|
|
homepage = "http://www.hydrogen-music.org";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ goibhniu orivej ];
|
|
};
|
|
}
|