2008-12-04 16:01:26 -05:00
|
|
|
a :
|
2008-08-14 05:25:26 -04:00
|
|
|
let
|
2008-12-04 16:01:26 -05:00
|
|
|
fetchurl = a.fetchurl;
|
2008-08-14 05:25:26 -04:00
|
|
|
|
2009-05-24 06:57:41 -04:00
|
|
|
version = a.lib.attrByPath ["version"] "" a;
|
2008-12-04 16:01:26 -05:00
|
|
|
buildInputs = with a; [
|
2008-08-14 05:25:26 -04:00
|
|
|
|
|
|
|
];
|
|
|
|
in
|
2008-03-20 11:56:17 -04:00
|
|
|
rec {
|
|
|
|
src = /* Here a fetchurl expression goes */;
|
2007-11-03 00:15:13 -04:00
|
|
|
|
2008-08-14 05:25:26 -04:00
|
|
|
inherit buildInputs;
|
2008-03-20 11:56:17 -04:00
|
|
|
configureFlags = [];
|
|
|
|
|
2008-12-04 16:01:26 -05:00
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
2008-03-20 11:56:17 -04:00
|
|
|
|
2008-08-14 05:25:26 -04:00
|
|
|
name = "${abort "Specify name"}-" + version;
|
2008-03-20 11:56:17 -04:00
|
|
|
meta = {
|
|
|
|
description = "${abort "Specify description"}";
|
2009-07-12 04:10:51 -04:00
|
|
|
maintainers = [
|
|
|
|
a.lib.maintainers.(abort "Specify maintainer")
|
|
|
|
];
|
2008-03-20 11:56:17 -04:00
|
|
|
};
|
2007-11-03 00:15:13 -04:00
|
|
|
}
|