2008-06-27 23:15:01 +04:00
|
|
|
args : with args;
|
2009-05-24 14:57:41 +04:00
|
|
|
let version = lib.attrByPath ["version"] "1.1.0" args; in
|
2008-06-27 23:15:01 +04:00
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://downloads.sourceforge.net/ofset/drgeo-1.1.0.tar.gz;
|
|
|
|
sha256 = "05i2czgzhpzi80xxghinvkyqx4ym0gm9f38fz53idjhigiivp4wc";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [libglade gtk guile libxml2
|
|
|
|
perl intltool libtool pkgconfig];
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be specified separately */
|
|
|
|
phaseNames = ["doConfigure" "doPreBuild" "doMakeInstall"];
|
|
|
|
|
2009-05-20 03:25:58 +04:00
|
|
|
doPreBuild = fullDepEntry (''
|
2008-06-27 23:15:01 +04:00
|
|
|
cp drgeo.desktop.in drgeo.desktop
|
|
|
|
'') ["minInit" "doUnpack"];
|
|
|
|
|
|
|
|
name = "drgeo-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Interactive geometry program";
|
|
|
|
};
|
|
|
|
}
|