diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-07-28 11:55:54 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-07-28 11:55:54 +0000 |
commit | 66097104090e06c43a784193809bc8843a2ec052 (patch) | |
tree | 021d726cde3c2dec5d4341340b37589feef3b15c /pkgs/applications/audio/ladspa-plugins | |
parent | b4a3f99c7812a6c8bc34979200693b7010afffcc (diff) |
* Get rid of many instances of "args: with args;", and other coding
guidelines violations. * Updated libsamplerate to 0.1.7. svn path=/nixpkgs/trunk/; revision=22782
Diffstat (limited to 'pkgs/applications/audio/ladspa-plugins')
-rw-r--r-- | pkgs/applications/audio/ladspa-plugins/ladspah.nix | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/pkgs/applications/audio/ladspa-plugins/ladspah.nix b/pkgs/applications/audio/ladspa-plugins/ladspah.nix index 12ea91714a3b9..8cd3dcc1bfbaa 100644 --- a/pkgs/applications/audio/ladspa-plugins/ladspah.nix +++ b/pkgs/applications/audio/ladspa-plugins/ladspah.nix @@ -1,28 +1,28 @@ -args: with args; +{ stdenv, fetchurl, builderDefs }: + let - src = - fetchurl { - url = http://www.ladspa.org/ladspa_sdk/ladspa.h.txt; - sha256 = "1b908csn85ng9sz5s5d1mqk711cmawain2z8px2ajngihdrynb67"; - }; + src = fetchurl { + url = http://www.ladspa.org/ladspa_sdk/ladspa.h.txt; + sha256 = "1b908csn85ng9sz5s5d1mqk711cmawain2z8px2ajngihdrynb67"; + }; in - let localDefs = builderDefs.passthru.function { - buildInputs = []; - inherit src; - }; - in with localDefs; + let localDefs = builderDefs.passthru.function { + buildInputs = []; + inherit src; + }; + in with localDefs; let - copyFile = fullDepEntry (" - ensureDir \$out/include - cp ${src} \$out/include/ladspa.h - ") [minInit defEnsureDir]; + copyFile = fullDepEntry (" + ensureDir \$out/include + cp ${src} \$out/include/ladspa.h + ") [minInit defEnsureDir]; in stdenv.mkDerivation { - name = "ladspa.h"; - builder = writeScript "ladspa.h-builder" - (textClosure localDefs [copyFile]); - meta = { - description = "LADSPA format audio plugins"; - inherit src; - }; + name = "ladspa.h"; + builder = writeScript "ladspa.h-builder" + (textClosure localDefs [copyFile]); + meta = { + description = "LADSPA format audio plugins"; + inherit src; + }; } |