mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
Added Eukleides, a geometry drawing language.
svn path=/nixpkgs/trunk/; revision=27655
This commit is contained in:
parent
6f43e422ba
commit
947610085d
37
pkgs/applications/science/math/eukleides/default.nix
Normal file
37
pkgs/applications/science/math/eukleides/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -7777,6 +7777,8 @@ let
|
|||||||
|
|
||||||
ecm = callPackage ../applications/science/math/ecm { };
|
ecm = callPackage ../applications/science/math/ecm { };
|
||||||
|
|
||||||
|
eukleides = callPackage ../applications/science/math/eukleides { };
|
||||||
|
|
||||||
maxima = callPackage ../applications/science/math/maxima { };
|
maxima = callPackage ../applications/science/math/maxima { };
|
||||||
|
|
||||||
wxmaxima = callPackage ../applications/science/math/wxmaxima { };
|
wxmaxima = callPackage ../applications/science/math/wxmaxima { };
|
||||||
|
Loading…
Reference in New Issue
Block a user