summary refs log tree commit diff
path: root/pkgs/applications/audio/hydrogen/0.nix
blob: ad3566571b0c5d33e49f24da220ec7c23d43b93f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, stdenv, fetchurl, pkg-config, cmake
, alsa-lib, boost, glib, lash, libjack2, libarchive, libsndfile, lrdf, qt4
}:

stdenv.mkDerivation rec {
  version = "0.9.7";
  pname = "hydrogen";

  src = fetchurl {
    url = "https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz";
    sha256 = "1dy2jfkdw0nchars4xi4isrz66fqn53a9qk13bqza7lhmsg3s3qy";
  };

  nativeBuildInputs = [ pkg-config cmake ];
  buildInputs = [
    alsa-lib boost glib lash libjack2 libarchive libsndfile lrdf qt4
  ];

  meta = with lib; {
    description = "Advanced drum machine";
    homepage = "http://www.hydrogen-music.org";
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = [ maintainers.goibhniu ];
  };
}