Nix-expr style review

Unneded args.something replaced with
args: with args;
line. After this line args is the only place where we can recieve variables from.

Also removed several
buildInputs = [];
lines.


svn path=/nixpkgs/branches/stdenv-updates/; revision=10429
This commit is contained in:
Yury G. Kudryashov
2008-01-31 10:41:04 +00:00
parent b1b8c4f258
commit fbfab88e04
53 changed files with 220 additions and 248 deletions
@@ -1,13 +1,13 @@
args:
args.stdenv.mkDerivation {
args: with args;
stdenv.mkDerivation {
name = "libavc1394-0.5.3";
src = args.fetchurl {
src = fetchurl {
url = mirror://sourceforge/libavc1394/libavc1394-0.5.3.tar.gz;
sha256 = "19i40i3722ilhziknfds3a6w5xzv66fvc68gvbir1p2fvwi6ij93";
};
buildInputs =(with args; [pkgconfig libraw1394]);
buildInputs = [pkgconfig libraw1394];
meta = {
description = "programming interface for the 1394 Trade Association AV/C (Audio/Video Control) Digital Interface Command Set";