2008-06-27 19:15:01 +00:00
|
|
|
args : with args;
|
2009-05-24 10:57:41 +00:00
|
|
|
let version = lib.attrByPath ["version"] "1.1.0" args; in
|
2008-06-27 19:15:01 +00: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 */
|
2010-11-19 04:07:34 +00:00
|
|
|
phaseNames = ["doPatch" "doConfigure" "doPreBuild" "doMakeInstall"];
|
|
|
|
patches = [ ./struct.patch ];
|
2008-06-27 19:15:01 +00:00
|
|
|
|
2009-05-19 23:25:58 +00:00
|
|
|
doPreBuild = fullDepEntry (''
|
2008-06-27 19:15:01 +00:00
|
|
|
cp drgeo.desktop.in drgeo.desktop
|
|
|
|
'') ["minInit" "doUnpack"];
|
|
|
|
|
|
|
|
name = "drgeo-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Interactive geometry program";
|
|
|
|
};
|
|
|
|
}
|