Added DrGeo

svn path=/nixpkgs/trunk/; revision=12204
This commit is contained in:
Michael Raskin 2008-06-27 19:15:01 +00:00
parent 48ac8018ca
commit 5ba53d93b5
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,24 @@
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";
};
}

View File

@ -6884,6 +6884,11 @@ let pkgs = rec {
inherit fetchurl stdenv; inherit fetchurl stdenv;
}; };
drgeo = builderDefsPackage (import ../applications/science/geometry/drgeo) {
inherit (gnome) libglade gtk;
inherit libxml2 guile perl intltool libtool pkgconfig;
} null;
emboss = import ../applications/science/biology/emboss { emboss = import ../applications/science/biology/emboss {
inherit fetchurl stdenv readline perl libpng zlib; inherit fetchurl stdenv readline perl libpng zlib;
inherit (xorg) libX11 libXt; inherit (xorg) libX11 libXt;