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,14 +1,12 @@
args:
args.stdenv.mkDerivation {
args: with args;
stdenv.mkDerivation {
name = "libraw1394-1.2.0";
src = args.fetchurl {
src = fetchurl {
url = "mirror://sourceforge/libraw1394/libraw1394-1.2.0.tar.gz";
sha256 = "1b9zqqzyz0ihyfvhn135y3wc6vmym5yz21jxj9dp0f09b96gmp0z";
};
buildInputs =(with args; []);
meta = {
description = "library providing direct access to the IEEE 1394 bus through the Linux 1394 subsystem's raw1394 user space interface";
homepage = "http://wiki.linux1394.org/";