Author: simons
Date: Sun Jul 10 20:17:44 2011
New Revision: 27697
URL: https://svn.nixos.org/websvn/nix/?rev=27697&sc=1

Log:
Added stellarium 0.11.0.

Added:
   nixpkgs/trunk/pkgs/applications/science/astronomy/stellarium/
   nixpkgs/trunk/pkgs/applications/science/astronomy/stellarium/default.nix
Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Added: nixpkgs/trunk/pkgs/applications/science/astronomy/stellarium/default.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/applications/science/astronomy/stellarium/default.nix    
Sun Jul 10 20:17:44 2011        (r27697)
@@ -0,0 +1,29 @@
+{stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, qt4, perl, 
libiconv}:
+
+let
+  name = "stellarium-0.11.0";
+in
+stdenv.mkDerivation {
+  inherit name;
+
+  src = fetchurl {
+    url = "mirror://sourceforge/stellarium/${name}.tar.gz";
+    sha256 = 
"dbedf47dd0744fb325d67d63d1279101be7f4259af2a5e8027f1072012dd2587";
+  };
+
+  buildInputs = [ cmake freetype libpng mesa gettext openssl qt4 perl libiconv 
];
+
+  cmakeFlags = "-DINTL_INCLUDE_DIR= -DINTL_LIBRARIES=";
+  preConfigure = ''
+    sed -i -e '/typedef void (\*__GLXextFuncPtr)(void);/d' 
src/core/external/GLee.h
+  '';
+
+  enableParallelBuilding = true;
+
+  meta = {
+    description = "an free open source planetarium";
+    homepage = http://stellarium.org/;
+    license = "GPL2";
+    maintainers = [ stdenv.lib.maintainers.simons ];
+  };
+}

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       Sun Jul 10 20:17:38 
2011        (r27696)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       Sun Jul 10 20:17:44 
2011        (r27697)
@@ -752,8 +752,6 @@
     inherit (gtkLibs) pango;
   };
 
-  gravit = callPackage ../applications/science/astronomy/gravit { };
-
   groff = callPackage ../tools/text/groff {
     ghostscript = null;
   };
@@ -7643,6 +7641,9 @@
     inherit (gtkLibs) pango;
   };
 
+  gravit = callPackage ../applications/science/astronomy/gravit { };
+
+  stellarium = callPackage ../applications/science/astronomy/stellarium { };
 
   ### SCIENCE/GEOMETRY
 
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to