* 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
This commit is contained in:
Eelco Dolstra
2010-07-28 11:55:54 +00:00
parent b4a3f99c78
commit 6609710409
132 changed files with 925 additions and 958 deletions
@@ -17,8 +17,6 @@ args.stdenv.mkDerivation {
sha256 = "058iv3vs6syy01pfkd5894xap9zakjx8ki1bpjdnihn6vk6fr80l";
};
buildInputs =(with args; []);
phases = "doAll";
# don't call any wired $buildInputs/nix-support/* scripts or such. This makes the build fail
@@ -1,17 +1,17 @@
args:
args.stdenv.mkDerivation {
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation {
name = "avr8-burn-omat-2.0.1";
src = args.fetchurl {
src = fetchurl {
url = http://avr8-burn-o-mat.brischalle.de/AVR8_Burn-O-Mat_2_0_1.zip;
sha256 = "0nqlrbsx7z5r3b9y9wb6b7wawa3yxwx07zn7l4g4s59scxah2skk";
};
buildInputs =(with args; [unzip]);
buildInputs = [unzip];
phases = "unpackPhase installPhase";
# move to nix-support to not create that many symlinks..
# TODO burnomat tries to read /usr/local/etc/avrdude.conf (but you can edit it within the settings dialog)
installPhase = ''
@@ -25,8 +25,8 @@ args.stdenv.mkDerivation {
'';
meta = {
description = "gui tool for avrdude (nice to set fuse bits)";
homepage = http://avr8-burn-o-mat.brischalle.de/avr8_burn_o_mat_avrdude_gui_en.html;
license = "GPLv3";
description = "GUI tool for avrdude";
homepage = http://avr8-burn-o-mat.brischalle.de/avr8_burn_o_mat_avrdude_gui_en.html;
license = "GPLv3";
};
}