nixpkgs-suyu/pkgs/applications/audio/hydrogen/0.nix

27 lines
730 B
Nix
Raw Normal View History

{ 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 ];
};
}