diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2008-06-27 19:15:01 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2008-06-27 19:15:01 +0000 |
commit | 5ba53d93b505fb78487f23f9cfb4cc43fd21fd40 (patch) | |
tree | 10b6b25158197ca971fed735efcbf7b23043c7c8 /pkgs/applications/science | |
parent | 48ac8018ca0ed7ae9e5bc26c54357cdcb9c87799 (diff) |
Added DrGeo
svn path=/nixpkgs/trunk/; revision=12204
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/geometry/drgeo/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/science/geometry/drgeo/default.nix b/pkgs/applications/science/geometry/drgeo/default.nix new file mode 100644 index 000000000000..b254601a3d65 --- /dev/null +++ b/pkgs/applications/science/geometry/drgeo/default.nix @@ -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"; + }; +} |