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