2008-08-14 11:25:26 +02:00
|
|
|
args :
|
|
|
|
let
|
|
|
|
lib = args.lib;
|
|
|
|
fetchurl = args.fetchurl;
|
|
|
|
|
|
|
|
version = lib.getAttr ["version"] "" args;
|
|
|
|
buildInputs = with args; [
|
|
|
|
|
|
|
|
];
|
|
|
|
in
|
2008-03-20 16:56:17 +01:00
|
|
|
rec {
|
|
|
|
src = /* Here a fetchurl expression goes */;
|
2007-11-03 05:15:13 +01:00
|
|
|
|
2008-08-14 11:25:26 +02:00
|
|
|
inherit buildInputs;
|
2008-03-20 16:56:17 +01:00
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be specified separately */
|
|
|
|
phaseNames = ["doMakeInstall"];
|
|
|
|
|
2008-08-14 11:25:26 +02:00
|
|
|
name = "${abort "Specify name"}-" + version;
|
2008-03-20 16:56:17 +01:00
|
|
|
meta = {
|
|
|
|
description = "${abort "Specify description"}";
|
|
|
|
};
|
2007-11-03 05:15:13 +01:00
|
|
|
}
|