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