diff options
author | Bart Brouns <bart@magnetophon.nl> | 2017-02-26 15:34:49 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-02-26 15:49:32 +0100 |
commit | ec47fac2c3d1a7e30cf403b88c3b6e34f83a7a68 (patch) | |
tree | 7c451c4b40533f2462fdd3df75a68d049400f9db /pkgs/applications | |
parent | 8b40d2e305e861c4f18a96af943fa927125b9537 (diff) |
ir.lv2: 1.2.2 -> 1.2.3
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/audio/ir.lv2/default.nix | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/pkgs/applications/audio/ir.lv2/default.nix b/pkgs/applications/audio/ir.lv2/default.nix index d6dbc4c55a98..cc613541a256 100644 --- a/pkgs/applications/audio/ir.lv2/default.nix +++ b/pkgs/applications/audio/ir.lv2/default.nix @@ -1,20 +1,21 @@ -{ stdenv, fetchurl, fftw, gtk, lv2, libsamplerate, libsndfile, pkgconfig, zita-convolver }: +{ stdenv, fetchFromGitHub, fftw, gtk2, lv2, libsamplerate, libsndfile, pkgconfig, zita-convolver }: stdenv.mkDerivation rec { name = "ir.lv2-${version}"; - version = "1.2.2"; + version = "1.2.3"; - src = fetchurl { - url = "http://factorial.hu/system/files/${name}.tar.gz"; - sha256 = "17a6h2mv9xv41jpbx6bdakkngin4kqzh2v67l4076ddq609k5a7v"; + src = fetchFromGitHub { + owner = "tomszilagyi"; + repo = "ir.lv2"; + rev = "${version}"; + sha256 = "16vy06qb0vgwg4yx15grzh5m2q3cbzm3jd0p37g2qb8rgvjhladg"; }; - buildInputs = [ fftw gtk lv2 libsamplerate libsndfile pkgconfig zita-convolver ]; + buildInputs = [ fftw gtk2 lv2 libsamplerate libsndfile zita-convolver ]; - buildPhase = '' - make - make convert4chan - ''; + nativeBuildInputs = [ pkgconfig ]; + + postBuild = "make convert4chan"; installPhase = '' mkdir -p "$out/bin" @@ -23,10 +24,6 @@ stdenv.mkDerivation rec { make PREFIX="$out" install install -Dm755 convert4chan "$out/bin/convert4chan" - # fixed location - sed -i 's/, but seem like its gone://' README - sed -i 's@rhythminmind.net/1313@rhythminmind.net/STN@' README - install -Dm644 README "$out/share/doc/README" ''; meta = with stdenv.lib; { |