* composedArgsAndFun -> makeOverridable for consistency.

* Rename a few single-version packages to "default.nix".

svn path=/nixpkgs/trunk/; revision=22803
This commit is contained in:
Eelco Dolstra
2010-07-29 08:21:21 +00:00
parent 41b7a3cda6
commit ba498d4a43
29 changed files with 36 additions and 278 deletions
+21
View File
@@ -0,0 +1,21 @@
args : with args;
let localDefs = builderDefs.passthru.function {
src = /* put a fetchurl here */
fetchurl {
url = http://downloads.sourceforge.net/gdmap/gdmap-0.8.1.tar.gz;
sha256 = "0nr8l88cg19zj585hczj8v73yh21k7j13xivhlzl8jdk0j0cj052";
};
buildInputs = [gtk pkgconfig libxml2 intltool gettext];
configureFlags = [];
};
in with localDefs;
stdenv.mkDerivation rec {
name = "gdmap-0.8.1";
builder = writeScript (name + "-builder")
(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
meta = {
description = "Recursive rectangle map of disk usage";
inherit src;
};
}