From 10306f1b4cd88138a68c64576c4b7e8600880a3f Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 12 Nov 2010 22:02:08 +0000 Subject: libpano13 2.9.17. svn path=/nixpkgs/branches/stdenv-updates/; revision=24680 --- pkgs/applications/graphics/panotools/default.nix | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'pkgs/applications/graphics/panotools/default.nix') diff --git a/pkgs/applications/graphics/panotools/default.nix b/pkgs/applications/graphics/panotools/default.nix index 579c8744681e..8216c415cb62 100644 --- a/pkgs/applications/graphics/panotools/default.nix +++ b/pkgs/applications/graphics/panotools/default.nix @@ -1,24 +1,22 @@ -{stdenv, fetchsvn, libjpeg, libpng, libtiff, automake, libtool, autoconf }: +{ fetchurl, stdenv, libjpeg, libpng, libtiff, perl }: -stdenv.mkDerivation { - name = "panotools-r955"; +stdenv.mkDerivation rec { + name = "libpano13-2.9.17"; - src = fetchsvn { - url = https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano; - rev = 955; - sha256 = "e896c21caa098d33f33f33f134a8c9a725686c2470fe3cd08b76cd7934a56034"; + src = fetchurl { + url = "mirror://sourceforge/panotools/libpano13/${name}/${name}.tar.gz"; + sha256 = "1zcrkw0xw11170mlhh9r8562gafwx3hd92wahl9xxaah5z4v0am2"; }; - configurePhase = '' - export AUTOGEN_CONFIGURE_ARGS="--prefix $out" - ./bootstrap - ''; + buildInputs = [ perl libjpeg libpng libtiff ]; - buildInputs = [ libjpeg libpng libtiff automake libtool autoconf ]; + doCheck = true; meta = { homepage = http://panotools.sourceforge.net/; description = "Free software suite for authoring and displaying virtual reality panoramas"; - license = "LGPL"; + license = "GPLv2+"; + + platforms = stdenv.lib.platforms.gnu; # arbitrary choice }; } -- cgit 1.4.1