forked from mirrors/nixpkgs
Added DrGeo
svn path=/nixpkgs/trunk/; revision=12204
This commit is contained in:
parent
48ac8018ca
commit
5ba53d93b5
24
pkgs/applications/science/geometry/drgeo/default.nix
Normal file
24
pkgs/applications/science/geometry/drgeo/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -6884,6 +6884,11 @@ let pkgs = rec {
|
|||
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 {
|
||||
inherit fetchurl stdenv readline perl libpng zlib;
|
||||
inherit (xorg) libX11 libXt;
|
||||
|
|
Loading…
Reference in a new issue