hydrogen: 0.9.7 -> 1.0.1 (#97041)

Keep 0.9.7 as hydrogen_0 because 1.0.1 does not offer smooth
transition for projects using the old default GMKit.
This commit is contained in:
Orivej Desh 2020-09-04 21:56:56 +00:00 committed by GitHub
parent 2b575c5f1f
commit d35049c707
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 45 deletions

View file

@ -0,0 +1,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 ];
};
}

View file

@ -1,19 +1,27 @@
{ stdenv, fetchurl, pkgconfig, cmake { stdenv, fetchFromGitHub, cmake, pkgconfig, wrapQtAppsHook
, alsaLib, boost, glib, lash, libjack2, libarchive, libsndfile, lrdf, qt4 , alsaLib, ladspa-sdk, lash, libarchive, libjack2, liblo, libpulseaudio, libsndfile, lrdf
, qtbase, qttools, qtxmlpatterns
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.9.7";
pname = "hydrogen"; pname = "hydrogen";
version = "1.0.1";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz"; owner = "hydrogen-music";
sha256 = "1dy2jfkdw0nchars4xi4isrz66fqn53a9qk13bqza7lhmsg3s3qy"; repo = pname;
rev = version;
sha256 = "0snljpvbcgikhz610c325dgvayi0k512p3bglck9vvi90wsqx7l1";
}; };
nativeBuildInputs = [ pkgconfig cmake ]; nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
buildInputs = [ buildInputs = [
alsaLib boost glib lash libjack2 libarchive libsndfile lrdf qt4 alsaLib ladspa-sdk lash libarchive libjack2 liblo libpulseaudio libsndfile lrdf
qtbase qttools qtxmlpatterns
];
cmakeFlags = [
"-DWANT_DEBUG=OFF"
]; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
@ -21,6 +29,6 @@ stdenv.mkDerivation rec {
homepage = "http://www.hydrogen-music.org"; homepage = "http://www.hydrogen-music.org";
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.goibhniu ]; maintainers = with maintainers; [ goibhniu orivej ];
}; };
} }

View file

@ -1,34 +0,0 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, wrapQtAppsHook
, alsaLib, ladspa-sdk, lash, libarchive, libjack2, liblo, libpulseaudio, libsndfile, lrdf
, qtbase, qttools, qtxmlpatterns
}:
stdenv.mkDerivation rec {
pname = "hydrogen";
version = "1.0.0-beta2";
src = fetchFromGitHub {
owner = "hydrogen-music";
repo = pname;
rev = version;
sha256 = "1s3jrdyjpm92flw9mkkxchnj0wz8nn1y1kifii8ws252iiqjya4a";
};
nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
buildInputs = [
alsaLib ladspa-sdk lash libarchive libjack2 liblo libpulseaudio libsndfile lrdf
qtbase qttools qtxmlpatterns
];
cmakeFlags = [
"-DWANT_DEBUG=OFF"
];
meta = with stdenv.lib; {
description = "Advanced drum machine";
homepage = "http://www.hydrogen-music.org";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ goibhniu orivej ];
};
}

View file

@ -20907,8 +20907,8 @@ in
hugo = callPackage ../applications/misc/hugo { }; hugo = callPackage ../applications/misc/hugo { };
hydrogen = callPackage ../applications/audio/hydrogen { }; hydrogen = qt5.callPackage ../applications/audio/hydrogen { };
hydrogen-unstable = qt5.callPackage ../applications/audio/hydrogen/unstable.nix { }; hydrogen_0 = callPackage ../applications/audio/hydrogen/0.nix { }; # Old stable, has GMKit.
hydroxide = callPackage ../applications/networking/hydroxide { }; hydroxide = callPackage ../applications/networking/hydroxide { };