diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-07-30 14:47:23 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-07-30 14:47:23 +0000 |
commit | 4bf5b0d36b04290818cd909acdd351fc474c0e93 (patch) | |
tree | d4e84dd2ace4d3edf5657712580e6924b4ad80f5 /pkgs/applications/audio/beast | |
parent | 7835419d8adabca517aebf84b2e46712ea9906f9 (diff) | |
download | nixpkgs-4bf5b0d36b04290818cd909acdd351fc474c0e93.tar nixpkgs-4bf5b0d36b04290818cd909acdd351fc474c0e93.tar.gz nixpkgs-4bf5b0d36b04290818cd909acdd351fc474c0e93.tar.bz2 nixpkgs-4bf5b0d36b04290818cd909acdd351fc474c0e93.tar.lz nixpkgs-4bf5b0d36b04290818cd909acdd351fc474c0e93.tar.xz nixpkgs-4bf5b0d36b04290818cd909acdd351fc474c0e93.tar.zst nixpkgs-4bf5b0d36b04290818cd909acdd351fc474c0e93.zip |
* Fix some more "args: with args".
svn path=/nixpkgs/trunk/; revision=22828
Diffstat (limited to 'pkgs/applications/audio/beast')
-rw-r--r-- | pkgs/applications/audio/beast/default.nix | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/pkgs/applications/audio/beast/default.nix b/pkgs/applications/audio/beast/default.nix index e8205440d5a..61b11c05de7 100644 --- a/pkgs/applications/audio/beast/default.nix +++ b/pkgs/applications/audio/beast/default.nix @@ -1,36 +1,37 @@ -args: with args; -args.stdenv.mkDerivation { +{ stdenv, fetchurl, zlib, guile, libart_lgpl, pkgconfig, intltool +, gtk, glib, libogg, libvorbis, libgnomecanvas, gettext, perl }: + +stdenv.mkDerivation { name = "beast-0.7.1"; - src = args.fetchurl { + src = fetchurl { url = ftp://beast.gtk.org/pub/beast/v0.7/beast-0.7.1.tar.bz2; sha256 = "0jyl1i1918rsn4296w07fsf6wx3clvad522m3bzgf8ms7gxivg5l"; }; - buildInputs =[zlib guile libart_lgpl pkgconfig intltool gtk glib + buildInputs = + [ zlib guile libart_lgpl pkgconfig intltool gtk glib libogg libvorbis libgnomecanvas gettext - ]; - - inherit bash perl; + ]; patchPhase = '' unset patchPhase; patchPhase sed 's=-DG_DISABLE_DEPRECATED==g' -i `find -type f` # the patches didn't remove all occurences - sed 's=/bin/bash=/$bash/bin/bash=g' -i `find -type f` - sed 's=/usr/bin/perl=/$perl/bin/bash=g' -i `find -type f` + sed 's=/bin/bash=/${stdenv.shell}=g' -i `find -type f` + sed 's=/usr/bin/perl=/${perl}/bin/perl=g' -i `find -type f` ''; - patches = [ - (fetchurl { - url = mirror://gentoo/distfiles/beast-0.7.1-guile-1.8.diff.bz2; - sha256 = "dc5194deff4b0a0eec368a69090db682d0c3113044ce2c2ed017ddfec9d3814e"; - }) - ./patch.patch # patches taken from gentoo - ]; + patches = + [ (fetchurl { + url = mirror://gentoo/distfiles/beast-0.7.1-guile-1.8.diff.bz2; + sha256 = "dc5194deff4b0a0eec368a69090db682d0c3113044ce2c2ed017ddfec9d3814e"; + }) + ./patch.patch # patches taken from gentoo + ]; meta = { - description = "BEAST - the Bedevilled Sound Engine"; - homepage = http://beast.gtk.org; - license = ["GPL-2" "LGPL-2.1"]; + description = "BEAST - the Bedevilled Sound Engine"; + homepage = http://beast.gtk.org; + license = ["GPL-2" "LGPL-2.1"]; }; } |