nixpkgs/pkgs/applications/audio/hydrogen/default.nix

35 lines
918 B
Nix
Raw Normal View History

{ 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";
2021-04-15 02:42:28 +01:00
version = "1.0.2";
src = fetchFromGitHub {
owner = "hydrogen-music";
repo = pname;
rev = version;
2021-04-15 02:42:28 +01:00
sha256 = "sha256-t3f+T1QTNbuJnWmD+q0yPgQxXPXvl91lZN17pKUVFlo=";
};
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
2017-03-05 23:15:36 +00:00
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";
2021-04-18 18:57:12 +01:00
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = with maintainers; [ goibhniu orivej ];
};
}