2008-06-27 20:15:01 +01:00
|
|
|
args : with args;
|
2009-05-24 11:57:41 +01:00
|
|
|
let version = lib.attrByPath ["version"] "1.1.0" args; in
|
2008-06-27 20:15:01 +01:00
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
2013-07-14 00:48:32 +01:00
|
|
|
url = mirror://sourceforge/ofset/drgeo-1.1.0.tar.gz;
|
2008-06-27 20:15:01 +01:00
|
|
|
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 20:15:01 +01:00
|
|
|
|
2009-05-20 00:25:58 +01:00
|
|
|
doPreBuild = fullDepEntry (''
|
2008-06-27 20:15:01 +01:00
|
|
|
cp drgeo.desktop.in drgeo.desktop
|
|
|
|
'') ["minInit" "doUnpack"];
|
|
|
|
|
|
|
|
name = "drgeo-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Interactive geometry program";
|
|
|
|
};
|
|
|
|
}
|