nixpkgs-suyu/pkgs/applications/science/geometry/drgeo/default.nix
Michael Raskin 5ba53d93b5 Added DrGeo
svn path=/nixpkgs/trunk/; revision=12204
2008-06-27 19:15:01 +00:00

24 lines
666 B
Nix

args : with args;
let version = lib.getAttr ["version"] "1.1.0" args; in
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"];
doPreBuild = FullDepEntry (''
cp drgeo.desktop.in drgeo.desktop
'') ["minInit" "doUnpack"];
name = "drgeo-" + version;
meta = {
description = "Interactive geometry program";
};
}