aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/audio/hydrogen/0.nix
blob: b3aff4e4c5091e7b3ea9006acccd26ac2487d67e (plain)
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
{ stdenv, fetchurl, pkgconfig, cmake
, alsaLib, 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 = [ pkgconfig cmake ];
  buildInputs = [
    alsaLib boost glib lash libjack2 libarchive libsndfile lrdf qt4
  ];

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