2008-06-16 13:11:56 +02:00
|
|
|
args : with args;
|
2008-11-04 22:24:10 +01:00
|
|
|
let localDefs = builderDefs.passthru.function {
|
2008-06-16 13:11:56 +02:00
|
|
|
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 = [];
|
2008-08-19 07:54:09 +02:00
|
|
|
};
|
2008-06-16 13:11:56 +02:00
|
|
|
in with localDefs;
|
|
|
|
stdenv.mkDerivation rec {
|
2009-03-03 14:27:40 +01:00
|
|
|
name = "gdmap-"+version;
|
2008-06-16 13:11:56 +02:00
|
|
|
builder = writeScript (name + "-builder")
|
|
|
|
(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
|
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "Recursive rectangle map of disk usage";
|
2008-06-16 13:11:56 +02:00
|
|
|
inherit src;
|
|
|
|
};
|
|
|
|
}
|