From ee322d440cf6ea1499b7c0ef04f311c41e572374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Thu, 25 Apr 2013 08:19:55 +0200 Subject: [PATCH] openscad: bump to 2013.01 Bump to latest release. Use tarball instead of git. --- .../applications/graphics/openscad/default.nix | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/graphics/openscad/default.nix b/pkgs/applications/graphics/openscad/default.nix index 9343f3ec135d..53fe68f9fa91 100644 --- a/pkgs/applications/graphics/openscad/default.nix +++ b/pkgs/applications/graphics/openscad/default.nix @@ -1,19 +1,15 @@ -{stdenv, fetchgit, qt4, bison, flex, eigen, boost, mesa, glew, opencsg, cgal +{stdenv, fetchurl, qt4, bison, flex, eigen, boost, mesa, glew, opencsg, cgal , mpfr, gmp }: stdenv.mkDerivation rec { - version = "git-20121213"; + version = "2013.01"; name = "openscad-${version}"; - # src = fetchurl { - # url = "https://github.com/downloads/openscad/openscad/${name}.src.tar.gz"; - # sha256 = "0gaqwzxbbzc21lhb4y26j8g0g28dhrwrgkndizp5ddab5axi4zjh"; - # }; - src = fetchgit { - url = "https://github.com/openscad/openscad.git"; - rev = "c0612a9ed0899c96963e04c848a59b0164a689a2"; - sha256 = "1zqiwk1cjbj7sng9sdarbrs0zxkn9fsa84dyv8n0zlyh40s7kvw2"; - }; + + src = fetchurl { + url = "https://openscad.googlecode.com/files/${name}.src.tar.gz"; + sha256 = "01r013l8zyfkgmqn05axh3rlfsjwd6j403w5ffl7nby4i2spiw1f"; + }; buildInputs = [qt4 bison flex eigen boost mesa glew opencsg cgal gmp mpfr];