diff options
author | Renaud <c0bw3b@users.noreply.github.com> | 2019-11-13 10:45:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-13 10:45:21 +0100 |
commit | ba98027547275b21aeb6ba5f7ebc6524ce5cde6a (patch) | |
tree | 24897378f89467dbae7e271d2e499405e34de090 /pkgs/applications/audio/audacity | |
parent | ca0c25f18a4ae9bd089331644e3c438fcebe27ce (diff) | |
download | nixlib-ba98027547275b21aeb6ba5f7ebc6524ce5cde6a.tar nixlib-ba98027547275b21aeb6ba5f7ebc6524ce5cde6a.tar.gz nixlib-ba98027547275b21aeb6ba5f7ebc6524ce5cde6a.tar.bz2 nixlib-ba98027547275b21aeb6ba5f7ebc6524ce5cde6a.tar.lz nixlib-ba98027547275b21aeb6ba5f7ebc6524ce5cde6a.tar.xz nixlib-ba98027547275b21aeb6ba5f7ebc6524ce5cde6a.tar.zst nixlib-ba98027547275b21aeb6ba5f7ebc6524ce5cde6a.zip |
audacity: use fetchzip on GH archive
+ move build-time deps to nativeBuildInputs + restrict to x86 Linux platforms (fails on ARM)
Diffstat (limited to 'pkgs/applications/audio/audacity')
-rw-r--r-- | pkgs/applications/audio/audacity/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/applications/audio/audacity/default.nix b/pkgs/applications/audio/audacity/default.nix index deb77061a39a..11434c0b3498 100644 --- a/pkgs/applications/audio/audacity/default.nix +++ b/pkgs/applications/audio/audacity/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, wxGTK30, pkgconfig, file, gettext, +{ stdenv, fetchzip, wxGTK30, pkgconfig, file, gettext, libvorbis, libmad, libjack2, lv2, lilv, serd, sord, sratom, suil, alsaLib, libsndfile, soxr, flac, lame, expat, libid3tag, ffmpeg, soundtouch, /*, portaudio - given up fighting their portaudio.patch */ autoconf, automake, libtool @@ -10,9 +10,9 @@ stdenv.mkDerivation rec { version = "2.3.2"; pname = "audacity"; - src = fetchurl { + src = fetchzip { url = "https://github.com/audacity/audacity/archive/Audacity-${version}.tar.gz"; - sha256 = "0cf7fr1qhyyylj8g9ax1rq5sb887bcv5b8d7hwlcfwamzxqpliyc"; + sha256 = "08w96124vv8k4myd4vifq73ningq6404x889wvg2sk016kc4dfv1"; }; preConfigure = /* we prefer system-wide libs */ '' @@ -43,12 +43,11 @@ stdenv.mkDerivation rec { "-lswscale" ]; - nativeBuildInputs = [ pkgconfig ]; + nativeBuildInputs = [ pkgconfig autoconf automake libtool ]; buildInputs = [ file gettext wxGTK30 expat alsaLib libsndfile soxr libid3tag libjack2 lv2 lilv serd sord sratom suil wxGTK30.gtk ffmpeg libmad lame libvorbis flac soundtouch - autoconf automake libtool # for the preConfigure phase ]; #ToDo: detach sbsms enableParallelBuilding = true; @@ -60,7 +59,7 @@ stdenv.mkDerivation rec { description = "Sound editor with graphical UI"; homepage = http://audacityteam.org/; license = licenses.gpl2Plus; - platforms = with platforms; linux; + platforms = intersectLists platforms.linux platforms.x86; # fails on ARM maintainers = with maintainers; [ the-kenny ]; }; } |