mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 14:40:07 +03:00
hydrogen0: switch to fetchFromGitHub
This commit is contained in:
parent
82bb0302ca
commit
221ec72f0e
@ -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; {
|
||||||
|
Loading…
Reference in New Issue
Block a user