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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
920 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook
, alsa-lib, ladspa-sdk, lash, libarchive, libjack2, liblo, libpulseaudio, libsndfile, lrdf
, qtbase, qttools, qtxmlpatterns
}:
stdenv.mkDerivation rec {
pname = "hydrogen";
2021-12-07 04:19:46 +00:00
version = "1.1.1";
src = fetchFromGitHub {
owner = "hydrogen-music";
repo = pname;
rev = version;
2021-12-07 04:19:46 +00:00
sha256 = "sha256-to24PB9cs4vun93uXEWNVsmSLFRuLGfC4hCh7+mbvIo=";
};
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
2017-03-05 23:15:36 +00:00
buildInputs = [
alsa-lib 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-22 06:48:17 +00:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ goibhniu orivej ];
};
}