Author: simons
Date: Thu Jul 7 21:53:21 2011
New Revision: 27655
URL: https://svn.nixos.org/websvn/nix/?rev=27655&sc=1
Log:
Added Eukleides, a geometry drawing language.
Added:
nixpkgs/trunk/pkgs/applications/science/math/eukleides/
nixpkgs/trunk/pkgs/applications/science/math/eukleides/default.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/applications/science/math/eukleides/default.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/applications/science/math/eukleides/default.nix Thu Jul
7 21:53:21 2011 (r27655)
@@ -0,0 +1,37 @@
+{ stdenv, fetchurl, bison, flex, texinfo, readline, texLive }:
+
+let
+ name = "eukleides";
+ version = "1.5.4";
+in
+stdenv.mkDerivation {
+ name = "${name}-${version}";
+
+ src = fetchurl {
+ url = "http://www.eukleides.org/files/${name}-${version}.tar.bz2";
+ sha256 = "0s8cyh75hdj89v6kpm3z24i48yzpkr8qf0cwxbs9ijxj1i38ki0q";
+ };
+
+ buildInputs = [bison flex texinfo readline texLive];
+
+ preConfigure = "sed -i 's/ginstall-info/install-info/g' doc/Makefile";
+ installPhase = "ensureDir $out/bin ; make PREFIX=$out install";
+
+ meta = {
+ description = "Geometry Drawing Language";
+ homepage = "http://www.eukleides.org/";
+ license = "GPLv2";
+
+ longDescription = ''
+ Eukleides is a computer language devoted to elementary plane
+ geometry. It aims to be a fairly comprehensive system to create
+ geometric figures, either static or dynamic. Eukleides allows to
+ handle basic types of data: numbers and strings, as well as
+ geometric types of data: points, vectors, sets (of points), lines,
+ circles and conics.
+ '';
+
+ platforms = stdenv.lib.platforms.all;
+ maintainers = [ stdenv.lib.maintainers.simons ];
+ };
+}
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Thu Jul 7 21:40:46
2011 (r27654)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Thu Jul 7 21:53:21
2011 (r27655)
@@ -7777,6 +7777,8 @@
ecm = callPackage ../applications/science/math/ecm { };
+ eukleides = callPackage ../applications/science/math/eukleides { };
+
maxima = callPackage ../applications/science/math/maxima { };
wxmaxima = callPackage ../applications/science/math/wxmaxima { };
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits