git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #32205 from cillianderoiste/mhwaveedit

mhwaveedit: fix src url (gna is dead) and use autoreconf for build

commit88417853e140281547c68671a089165d1952d60d authoradisbladis <adisbladis@gmail.com> dateThu 30 Nov 2017, 23:00 (9 years ago) parente55c3b377882b6
1 file changed+11−5
pkgs/applications/audio/mhwaveedit/default.nix+11−5
pkgs/applications/audio/mhwaveedit/default.nix+11−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, makeWrapper, SDL , alsaLib, gtk2, libjack2, ladspaH
1+{ stdenv, fetchurl, makeWrapper, SDL, alsaLib, autoreconfHook, gtk2, libjack2, ladspaH
22, ladspaPlugins, libsamplerate, libsndfile, pkgconfig, libpulseaudio, lame
33, vorbis-tools }:
44
@@ -7,12 +7,18 @@ stdenv.mkDerivation rec {
77 version = "1.4.23";
88
99 src = fetchurl {
10− url = "http://download.gna.org/mhwaveedit/${name}.tar.bz2";
11− sha256 = "010rk4mr631s440q9cfgdxx2avgzysr9aq52diwdlbq9cddifli3";
10+ url = "https://github.com/magnush/mhwaveedit/archive/v${version}.tar.gz";
11+ sha256 = "1lvd54d8kpxwl4gihhznx1b5skhibz4vfxi9k2kwqg808jfgz37l";
1212 };
1313
14− buildInputs = [ SDL alsaLib gtk2 libjack2 ladspaH libsamplerate libsndfile
15− pkgconfig libpulseaudio makeWrapper ];
14+ nativeBuildInputs = [ autoreconfHook ];
15+
16+ preAutoreconf = "(cd docgen && sh gendocs.sh)";
17+
18+ buildInputs = [
19+ SDL alsaLib gtk2 libjack2 ladspaH libsamplerate libsndfile
20+ pkgconfig libpulseaudio makeWrapper
21+ ];
1622
1723 configureFlags = "--with-default-ladspa-path=${ladspaPlugins}/lib/ladspa";
1824