about summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-06-05 13:04:18 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-06-05 13:04:18 +0200
commit1da6a7d4a915e48934fbaa27fe01db1211d00df7 (patch)
tree0f2d493f5b85054172ddae42ad3eadeddb5e24c6 /pkgs/applications/audio
parent246edc3df2ade0701aabc53e41d6c8c85f51ac24 (diff)
downloadnixlib-1da6a7d4a915e48934fbaa27fe01db1211d00df7.tar
nixlib-1da6a7d4a915e48934fbaa27fe01db1211d00df7.tar.gz
nixlib-1da6a7d4a915e48934fbaa27fe01db1211d00df7.tar.bz2
nixlib-1da6a7d4a915e48934fbaa27fe01db1211d00df7.tar.lz
nixlib-1da6a7d4a915e48934fbaa27fe01db1211d00df7.tar.xz
nixlib-1da6a7d4a915e48934fbaa27fe01db1211d00df7.tar.zst
nixlib-1da6a7d4a915e48934fbaa27fe01db1211d00df7.zip
Remove illegal meta.src attributes
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/ladspa-plugins/ladspah.nix33
1 files changed, 11 insertions, 22 deletions
diff --git a/pkgs/applications/audio/ladspa-plugins/ladspah.nix b/pkgs/applications/audio/ladspa-plugins/ladspah.nix
index 30ba34af16c5..8c4d8a8c1ed5 100644
--- a/pkgs/applications/audio/ladspa-plugins/ladspah.nix
+++ b/pkgs/applications/audio/ladspa-plugins/ladspah.nix
@@ -1,28 +1,17 @@
-{ stdenv, fetchurl, builderDefs }:
+{ runCommand, fetchurl }:
+
+let
 
-let 
   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
-  copyFile = fullDepEntry ("
-    mkdir -p \$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;
-  };
-}
+
+runCommand "ladspa.h"
+  { meta.description = "LADSPA format audio plugins"; }
+  ''
+    mkdir -p $out/include
+    cp ${src} $out/include/ladspa.h
+  ''