Skip to content

Commit

Permalink
Merge pull request #32205 from cillianderoiste/mhwaveedit
Browse files Browse the repository at this point in the history
mhwaveedit: fix src url (gna is dead) and use autoreconf for build
  • Loading branch information
adisbladis committed Nov 30, 2017
2 parents e55c3b3 + 77882b6 commit 8841785
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions pkgs/applications/audio/mhwaveedit/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, SDL , alsaLib, gtk2, libjack2, ladspaH
{ stdenv, fetchurl, makeWrapper, SDL, alsaLib, autoreconfHook, gtk2, libjack2, ladspaH
, ladspaPlugins, libsamplerate, libsndfile, pkgconfig, libpulseaudio, lame
, vorbis-tools }:

Expand All @@ -7,12 +7,18 @@ stdenv.mkDerivation rec {
version = "1.4.23";

src = fetchurl {
url = "http://download.gna.org/mhwaveedit/${name}.tar.bz2";
sha256 = "010rk4mr631s440q9cfgdxx2avgzysr9aq52diwdlbq9cddifli3";
url = "https://github.com/magnush/mhwaveedit/archive/v${version}.tar.gz";
sha256 = "1lvd54d8kpxwl4gihhznx1b5skhibz4vfxi9k2kwqg808jfgz37l";
};

buildInputs = [ SDL alsaLib gtk2 libjack2 ladspaH libsamplerate libsndfile
pkgconfig libpulseaudio makeWrapper ];
nativeBuildInputs = [ autoreconfHook ];

preAutoreconf = "(cd docgen && sh gendocs.sh)";

buildInputs = [
SDL alsaLib gtk2 libjack2 ladspaH libsamplerate libsndfile
pkgconfig libpulseaudio makeWrapper
];

configureFlags = "--with-default-ladspa-path=${ladspaPlugins}/lib/ladspa";

Expand Down

0 comments on commit 8841785

Please sign in to comment.