hydrogen0: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-11-02 11:01:17 +01:00
parent 82bb0302ca
commit 221ec72f0e

View File

@ -1,19 +1,41 @@
{ lib, stdenv, fetchurl, pkg-config, cmake { lib
, alsa-lib, boost, glib, lash, libjack2, libarchive, libsndfile, lrdf, qt4 , stdenv
, fetchFromGitHub
, pkg-config
, cmake
, alsa-lib
, boost
, glib
, lash
, libjack2
, libarchive
, libsndfile
, lrdf
, qt4
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.9.7"; version = "0.9.7";
pname = "hydrogen"; pname = "hydrogen";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz"; owner = "hydrogen-music";
sha256 = "1dy2jfkdw0nchars4xi4isrz66fqn53a9qk13bqza7lhmsg3s3qy"; repo = "hydrogen";
rev = version;
sha256 = "sha256-6ycNUcumtAEl/6XbIpW6JglGv4nNOdMrOJ1nvJg3z/c=";
}; };
nativeBuildInputs = [ pkg-config cmake ]; nativeBuildInputs = [ pkg-config cmake ];
buildInputs = [ buildInputs = [
alsa-lib boost glib lash libjack2 libarchive libsndfile lrdf qt4 alsa-lib
boost
glib
lash
libjack2
libarchive
libsndfile
lrdf
qt4
]; ];
meta = with lib; { meta = with lib; {