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