summary refs log tree commit diff
path: root/pkgs/applications/audio/ladspa-plugins
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2010-07-28 11:55:54 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2010-07-28 11:55:54 +0000
commit66097104090e06c43a784193809bc8843a2ec052 (patch)
tree021d726cde3c2dec5d4341340b37589feef3b15c /pkgs/applications/audio/ladspa-plugins
parentb4a3f99c7812a6c8bc34979200693b7010afffcc (diff)
downloadnixpkgs-66097104090e06c43a784193809bc8843a2ec052.tar
nixpkgs-66097104090e06c43a784193809bc8843a2ec052.tar.gz
nixpkgs-66097104090e06c43a784193809bc8843a2ec052.tar.bz2
nixpkgs-66097104090e06c43a784193809bc8843a2ec052.tar.lz
nixpkgs-66097104090e06c43a784193809bc8843a2ec052.tar.xz
nixpkgs-66097104090e06c43a784193809bc8843a2ec052.tar.zst
nixpkgs-66097104090e06c43a784193809bc8843a2ec052.zip
* 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.nix44
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 12ea91714a3..8cd3dcc1bfb 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;
+  };
 }